iwlwifi: mvm: Change beacon filter enablement condition
authorAlexander Bondar <alexander.bondar@intel.com>
Mon, 10 Mar 2014 20:02:26 +0000 (22:02 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Mar 2014 06:59:27 +0000 (08:59 +0200)
commitc63722cfd441bd3a99c65fa4c40bc65d7776e772
treeb1fdc3b12811dd63113c180b87bb1f3d588732e2
parent1f00c721391aaf9ba6ae52dd4cb54d668f1c5408
iwlwifi: mvm: Change beacon filter enablement condition

Enable beacon filter only if at least one beacon from candidate
AP is received before or after association. Check this condition before
enabling BF upon secured association completion. Add BF enablement to
mac80211 event that indicates beacon is received after association.
Too early beacon filtering enablement can lead to disconnection due to
missing AP's beacon after association.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c