]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
wl1271: Fix mac80211 RTS threshold requests during WL1271_STATE_OFF
authorSaravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Fri, 9 Apr 2010 08:07:28 +0000 (11:07 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Apr 2010 17:43:10 +0000 (13:43 -0400)
commitaecb0565e3e331d4dd23b4d35180519532015f22
tree6ae7729e1f24c46787edb4e47cbaec74f48305a6
parent2c10bb9cb3f9cecb71bd2cbb771778136433ebe2
wl1271: Fix mac80211 RTS threshold requests during WL1271_STATE_OFF

mac80211 sends RTS threshold configuration request even if the wl1271 interface
state is WL1271_STATE_OFF. This leads to failures during pm tests.

This patch leaves the configuration function, 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