mwl8k: don't overwrite mwl8k_vif::bssid until after disassociation
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 30 Nov 2009 17:13:56 +0000 (18:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:51:22 +0000 (16:51 -0500)
commitd1844d77692de3158ad458ed4c7b86d78ab4085e
tree940924641f8e2a48e454feb47c826c81ba3aac64
parentd8a8dd8f07aed82492c089ad13fd3d7476b692fd
mwl8k: don't overwrite mwl8k_vif::bssid until after disassociation

When disassociating, mac80211 zeroes vif->bss_info.bssid before
calling our ->bss_info_changed(), but we need the BSSID to remove the
hardware station database entry for our AP, so we can't clear our
local copy of the BSSID until after we've done that.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c