ath5k: do not call ieee80211_stop_queue for queues not managed by mac80211
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Jul 2011 01:02:05 +0000 (09:02 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Jul 2011 18:49:41 +0000 (14:49 -0400)
commit4e868796bbcbae2f2ea3a828c803686787392b71
tree2227bb3c26b7af758303ea7990b3a5912632731f
parent6340211c5f4775a52c98052fb5661565f79249fd
ath5k: do not call ieee80211_stop_queue for queues not managed by mac80211

Instead of using ieee80211_stop_queue, check the configured tx queue
limit before calling ieee80211_get_buffered_bc.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c