]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
iwlwifi: mvm: don't filter out the first beacon
authorAvri Altman <avri.altman@intel.com>
Tue, 20 May 2014 05:03:24 +0000 (08:03 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 21 May 2014 09:51:21 +0000 (12:51 +0300)
commitfa7b2e7fd09f17c47ac312ade3aae48247a528f6
tree5b400c115098af065717bba328e6905ae964738e
parent0ccab3db2b3d045905e4336a407a370ae0342d49
iwlwifi: mvm: don't filter out the first beacon

Enabling beacon filtering should be done only after a beacon
has been received. Doing that too early will cause
disconnections.
This has already been fixed, but the fix didn't take care
about the case where the beacon is received after the
association, it waited only for association which is not
enough.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/power.c