ath9k: Check virtual wiphy state on tx()
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:36 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:47 +0000 (14:39 -0500)
commitee166a0e71947e0ebeb044fd2277435f665270ac
tree13726f5488e700fe5606d67d566ff442cf55e59e
parent18eb62f87a8d1dc6ed8a01a52e6b2b1600802608
ath9k: Check virtual wiphy state on tx()

mac80211 should not be requesting us to transmit frames on paused
wiphys since we stop the TX queues. Just in case, add debug code to
make sure we catch if this were to happen.

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