]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:05 +0000 (13:41 -0700)
commit96c738c2c8d80765f57e79387c68d68ea5b0bae8
tree8838bbb78750f0d3d54c8c85e57f422cfb4dd3d7
parent4bad9170b2723f5cf38af4a2ffc9cfc91a517351
iwlwifi: mvm: set MAC_FILTER_IN_BEACON correctly for STA/P2P client

commit 7c8b3bc688bdcfd7789efbd17da4d85b104ad351 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c