diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-07-22 05:24:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 15:32:41 -0400 |
commit | 68e8f2fae03cde0ba841325e2660b55fe49bf4b9 (patch) | |
tree | 011191db1afaa3933d1d83f5fcbee1af0f8904fe /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 2189d13f6cfc58627a01d6a91591e59a2fa62902 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 6e486a508edb..998ae2c49ed2 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -687,7 +687,7 @@ bool ath9k_all_wiphys_idle(struct ath_softc *sc); | |||
687 | void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); | 687 | void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); |
688 | 688 | ||
689 | void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); | 689 | void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); |
690 | void ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); | 690 | bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); |
691 | 691 | ||
692 | void ath_start_rfkill_poll(struct ath_softc *sc); | 692 | void ath_start_rfkill_poll(struct ath_softc *sc); |
693 | extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); | 693 | extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); |