ath9k_hw: fix hardware queue allocation
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Nov 2014 19:38:40 +0000 (20:38 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:21 +0000 (15:57 -0500)
commitad8fdccf9c197a89e2d2fa78c453283dcc2c343f
tree76ad9f4ca1fe6282bcceeb858e8baae1018b99d5
parentc0fb754bd81fafcd63644d5482ba9669d3e4fe9c
ath9k_hw: fix hardware queue allocation

The driver passes the desired hardware queue index for a WMM data queue
in qinfo->tqi_subtype. This was ignored in ath9k_hw_setuptxqueue, which
instead relied on the order in which the function is called.

Cc: stable@vger.kernel.org
Reported-by: Hubert Feurstein <h.feurstein@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c