]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ath9k: fix BE/BK queue order
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Nov 2014 19:38:41 +0000 (20:38 +0100)
committerZefan Li <lizefan@huawei.com>
Tue, 14 Apr 2015 09:33:43 +0000 (17:33 +0800)
commit 78063d81d353e10cbdd279c490593113b8fdae1c upstream.

Hardware queues are ordered by priority. Use queue index 0 for BK, which
has lower priority than BE.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/net/wireless/ath/ath9k/hw.h

index f49be96aba7509ade39b82ff76c887e97d14e77c..d4f09b4088b5305ae8be4a62a25d16aa52c874bf 100644 (file)
 #define PAPRD_IDEAL_AGC2_PWR_RANGE     0xe0
 
 enum ath_hw_txq_subtype {
-       ATH_TXQ_AC_BE = 0,
-       ATH_TXQ_AC_BK = 1,
+       ATH_TXQ_AC_BK = 0,
+       ATH_TXQ_AC_BE = 1,
        ATH_TXQ_AC_VI = 2,
        ATH_TXQ_AC_VO = 3,
 };