]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb1bdaf0a606623fa71bb676b485a61c9f1080a0
tree5b400c115098af065717bba328e6905ae964738e
parentdb37dc99d7cfcd006d75f8f34a0147934cba076e
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