]> git.openfabrics.org - ~emulex/infiniband.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)
commit3d2abdfdf14f4d6decc2023708211e19b096f4ca
tree053b75c9bb096979bb06c104d35ab9811a690abf
parent27f011243a6e4e8b81078df1d83608dae31e3d38
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