diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-05-15 06:50:01 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-05-19 09:39:23 -0400 |
commit | 53446699892b7a171128295a85014732b9a1796b (patch) | |
tree | b17924d52aae7e3e152e671b34ed74688a24acca /drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | |
parent | cad3f08c23deb733c1c69d8c4355ea10dfbc3110 (diff) |
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/mvm/mac-ctxt.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | 3 |
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, | |||
724 | /* Allow beacons to pass through as long as we are not | 724 | /* Allow beacons to pass through as long as we are not |
725 | * associated, or we do not have dtim period information. | 725 | * associated, or we do not have dtim period information. |
726 | */ | 726 | */ |
727 | if (!vif->p2p) | 727 | cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_BEACON); |
728 | cmd.filter_flags |= cpu_to_le32(MAC_FILTER_IN_BEACON); | ||
729 | 728 | ||
730 | /* | 729 | /* |
731 | * The DTIM count counts down, so when it is N that means N | 730 | * The DTIM count counts down, so when it is N that means N |