]> 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:30:07 +0000 (10:30 -0700)
commitba41a6df9e32ee5752165496017cadf700c14ca9
tree4907a445243d0ccd97e903e169b4f04c72e52509
parent0bf2a827d745808dde90001134ecc6a4af39b361
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