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>
This commit is contained in:
committed by
John W. Linville
parent
1cc5c4b56e
commit
293f2ba897
@ -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;
|
||||
|
Reference in New Issue
Block a user