]> Pileus Git - ~andy/linux/commit
wl12xx: Unset bssid filter, ssid and bssid from firmware on disassoc
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Mon, 22 Nov 2010 10:59:08 +0000 (12:59 +0200)
committerLuciano Coelho <luciano.coelho@nokia.com>
Mon, 22 Nov 2010 14:45:14 +0000 (16:45 +0200)
commitb84a7d3d9e7cd5a25f4fd32142cebdf4481a74a4
treebbccc94eb0ce0a6c8b9624f3186ebfcae418edec
parent68d069c45f73e8aeda0249891daec1f7e2f0e067
wl12xx: Unset bssid filter, ssid and bssid from firmware on disassoc

On the disassociation event from the mac80211, the wl12xx driver does not
clear the chipset configuration related to the AP - i.e. it does not perform
a DISCONNECT and then a JOIN with zero SSID and dummy BSSID. Also, it does not
unset the BSSID filter.

Often this is not a problem, as the above is performed upon entering idle
state. But if a scenario arises where a new association is attempted without
cycling through idle state, the new association will fail.

Fix this by resetting the firmware state on disassociation.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/main.c