]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ath5k: fix hardware queue index assignment
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Nov 2014 20:52:57 +0000 (21:52 +0100)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:38:40 +0000 (14:38 +0100)
commit939c0896c85b324de081975d21b77b7678fff2af
tree8c548d60c324b4ba1a9dac5726140da682011a7a
parent6b4be54359e16d4b4f2dfa8d00ddce49e0e2d93b
ath5k: fix hardware queue index assignment

commit 9e4982f6a51a2442f1bb588fee42521b44b4531c upstream.

Like with ath9k, ath5k queues also need to be ordered by priority.
queue_info->tqi_subtype already contains the correct index, so use it
instead of relying on the order of ath5k_hw_setup_tx_queue calls.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/ath/ath5k/qcu.c