]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:22 +0000 (10:39 -0700)
commite2d0b03cd7cb264258e7473a4a3ef72f48752999
tree352c9c38c1ef83e71685b0b6df76e52d09d1eed3
parent2306783b6e793e80943656e8238b5a367428ee8e
mac80211: clear bssid on auth/assoc failure

commit 3d2abdfdf14f4d6decc2023708211e19b096f4ca upstream.

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.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c