]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: clear bssid on auth/assoc failure
authorEliad Peller <eliad@wizery.com>
Tue, 4 Sep 2012 14:44:45 +0000 (17:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Sep 2012 15:14:19 +0000 (17:14 +0200)
commit7aa6253d67faf4f9b2e5879bf0baef4130cca61d
tree053b75c9bb096979bb06c104d35ab9811a690abf
parent0bc73b1c5525bcc7822890df5555309b14fd7bc2
mac80211: clear bssid on auth/assoc failure

ifmgd->bssid wasn't cleared properly in some
auth/assoc failure cases, causing mac80211 and
the low-level driver to go out of sync.

Clear ifmgd->bssid on failure, and notify the driver.

Cc: stable@kernel.org # 3.4+
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c