ath9k: Fix inconsistency between txq->stopped and the actual queue state
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Thu, 22 Jul 2010 09:24:11 +0000 (02:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:32:41 +0000 (15:32 -0400)
commit68e8f2fae03cde0ba841325e2660b55fe49bf4b9
tree011191db1afaa3933d1d83f5fcbee1af0f8904fe
parent2189d13f6cfc58627a01d6a91591e59a2fa62902
ath9k: Fix inconsistency between txq->stopped and the actual queue state

Sometimes txq state(txq->stopped) can be marked as started but the actual
queue may not be started (in ATH_WIPHY_SCAN state, for example). Fix this.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/virtual.c
drivers/net/wireless/ath/ath9k/xmit.c