]> 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)
commitb30904e2cb2ffc334de68e991736b7f811c2c7c6
tree9e74f1a4172ff1de0f25a1e7ab7c57fe7b4b0c74
parentfa4fc4657e8ef0f48883f25c6391befd72b5bbd6
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