wl1271: Fix mac80211 configuration requests during WL1271_STATE_OFF
authorSaravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Fri, 9 Apr 2010 08:07:27 +0000 (11:07 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Apr 2010 17:43:10 +0000 (13:43 -0400)
commit2c10bb9cb3f9cecb71bd2cbb771778136433ebe2
tree3847ade22a7acd9490266548fb4c6e127d587528
parentbd9dc49cd565aeb20d4f6eb2f6af4c16acce2ef5
wl1271: Fix mac80211 configuration requests during WL1271_STATE_OFF

mac80211 sends configuration requests even if the wl1271 interface
state is WL1271_STATE_OFF. This creates warnings from mac80211.

This patch leaves the configuration functions, if the interface is
going down.

Signed-off-by: Saravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c