]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: refuse connection to APs with BI < 16
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2013 13:55:29 +0000 (15:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 10:55:07 +0000 (13:55 +0300)
commitafe9feb763976be253c558d827701a67f4210164
tree9e74f1a4172ff1de0f25a1e7ab7c57fe7b4b0c74
parente1c1500bd079b800a2574072864a52e3f6e0ffc2
iwlwifi: mvm: refuse connection to APs with BI < 16

Due to a firmware bug, it crashes when the beacon interval
is smaller than 16. Avoid this by refusing the station state
change creating the AP station, causing mac80211 to abandon
the attempt to connect to the AP, and eventually wpa_s to
blacklist it.

Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c