From: Ilan Peer Date: Wed, 17 Oct 2018 13:51:59 +0000 (+0300) Subject: iwlwifi: mvm: Do not set RTS/CTS protection for P2P Device MAC X-Git-Tag: v5.1-rc1~178^2~348^2~45^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dd2cea8b65012003234b97c7f3dfaa61a3b4bd8;p=thirdparty%2Fkernel%2Fstable.git iwlwifi: mvm: Do not set RTS/CTS protection for P2P Device MAC As this is not needed and might cause interoperability issues during pairing with devices that would not reply to RTS frames. Signed-off-by: Ilan Peer Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c index a79c79701cc4b..11714eb8da5e7 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c @@ -793,8 +793,6 @@ static int iwl_mvm_mac_ctxt_cmd_p2p_device(struct iwl_mvm *mvm, iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); - cmd.protection_flags |= cpu_to_le32(MAC_PROT_FLG_TGG_PROTECT); - /* Override the filter flags to accept only probe requests */ cmd.filter_flags = cpu_to_le32(MAC_FILTER_IN_PROBE_REQUEST);