ath9k: fix mac80211 queue lookup for waking up queues
authorFelix Fietkau <nbd@openwrt.org>
Sat, 12 Jun 2010 04:33:49 +0000 (00:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:30 +0000 (15:39 -0400)
commit293f2ba897183872c182a4a3cf1996a1f547d7ee
treec5b52863e47127c79a8fa1ef69462f1db5277f2d
parent1cc5c4b56ef684b89afa577f70675d9dd025fb0c
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>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/xmit.c