summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-05-15 12:50:01 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-05-19 15:39:23 +0200
commit53446699892b7a171128295a85014732b9a1796b (patch)
treeb17924d52aae7e3e152e671b34ed74688a24acca /drivers/net/wireless/iwlwifi
parentiwlwifi: mvm: enable MAC_FILTER_IN_BEACON when forced_assoc_off is set (diff)
downloadlinux-53446699892b7a171128295a85014732b9a1796b.tar.xz
linux-53446699892b7a171128295a85014732b9a1796b.zip
iwlwifi: mvm: set the MAC_FILTER_IN_BEACON flag also for P2P
There doesn't seem to be a good reason for not enabling the MAC_FILTER_IN_BEACON flag for P2P client, as we do for station. This can prevent potential, hard-to-reproduce problems during association. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
index 28549ba7f2fa..fed012f2b6c0 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
@@ -724,8 +724,7 @@ static int iwl_mvm_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,
/* Allow beacons to pass through as long as we are not
* associated, or we do not have dtim period information.
*/
- if (!vif->p2p)
- cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_BEACON);
+ cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_BEACON);
/*
* The DTIM count counts down, so when it is N that means N