OSDN Git Service

iwlwifi: mvm: set MAC_FILTER_IN_BEACON correctly for STA/P2P client
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 30 Jul 2014 12:04:08 +0000 (15:04 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 8 Sep 2014 06:17:08 +0000 (09:17 +0300)
commit7c8b3bc688bdcfd7789efbd17da4d85b104ad351
tree005526455ab4a64c557fb59d7984928d5a00e6b6
parent787d6c1f17eae41429d35eb0f1b38f44659f5f1d
iwlwifi: mvm: set MAC_FILTER_IN_BEACON correctly for STA/P2P client

In commit cad3f08c (iwlwifi: mvm: enable MAC_FILTER_IN_BEACON when
forced_assoc_off is set) the code to set the MAC_FILTER_IN_BEACON flag
was accidentally moved to the main block of the if statement, while it
should be in the else block instead.  Move it to the right place.

Fixes: cad3f08c23de ("iwlwifi: mvm: enable MAC_FILTER_IN_BEACON when forced_assoc_off is set")
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c