diff options
author | Felix Fietkau | 2010-06-12 06:33:49 +0200 |
---|---|---|
committer | John W. Linville | 2010-06-14 21:39:30 +0200 |
commit | 293f2ba897183872c182a4a3cf1996a1f547d7ee (patch) | |
tree | c5b52863e47127c79a8fa1ef69462f1db5277f2d /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | ath9k_hw: update 5 GHz tx gain tables for femless and high power PA (diff) | |
download | kernel-qcow2-linux-293f2ba897183872c182a4a3cf1996a1f547d7ee.tar.gz kernel-qcow2-linux-293f2ba897183872c182a4a3cf1996a1f547d7ee.tar.xz kernel-qcow2-linux-293f2ba897183872c182a4a3cf1996a1f547d7ee.zip |
ath9k: fix mac80211 queue lookup for waking up queues
ath_get_mac80211_qnum() expects the queue 'subtype'
(internal ID for the WMM AC) as argument when looking up
the mac80211 queue, however ath_wake_mac80211_queue provides
txq->axq_qnum instead, which contains the hardware queue
number. Fix this by keeping track of the WMM class ID in
the txq data structure.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index c00946ddd97e..c5c662957b0d 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -194,6 +194,7 @@ enum ATH_AGGR_STATUS { #define ATH_TXFIFO_DEPTH 8 struct ath_txq { + int axq_class; u32 axq_qnum; u32 *axq_link; struct list_head axq_q; |