ath9k: Add workaround to recover from failed channel changes
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:37 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:47 +0000 (14:39 -0500)
commit7ec3e514d9361596cbd8aa71ce41d6e5b0220103
tree55c4fbc57230fe5d237a31c17dc01ed5ee65cead
parentee166a0e71947e0ebeb044fd2277435f665270ac
ath9k: Add workaround to recover from failed channel changes

It looks like channel change may fail in some cases and end up leaving
the hardware in state where it cannot transmit any frames. Add a
workaround to recover from this state if we detect that wiphy
selection is failing due to wiphys not leaving PAUSING state.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/virtual.c