diff options
author | Eliad Peller <eliad@wizery.com> | 2012-05-13 16:47:05 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 15:21:46 -0400 |
commit | c53f7e150e178b62b9904428ccbe3ae6f3553fdd (patch) | |
tree | 8a273f55f5b331887c52362d11fc48d8b7e32930 /sound/sh | |
parent | 72d7872852e1734e94686012a2e9deade3457329 (diff) | |
download | linux-3.10-c53f7e150e178b62b9904428ccbe3ae6f3553fdd.tar.gz linux-3.10-c53f7e150e178b62b9904428ccbe3ae6f3553fdd.tar.bz2 linux-3.10-c53f7e150e178b62b9904428ccbe3ae6f3553fdd.zip |
mac80211: use offchannel queue only when supported
Commit 3a25a8c ("mac80211: add improved HW queue control")
added support for offchannel queue mapping. However, this
mapping is only valid when the driver supports
IEEE80211_HW_QUEUE_CONTROL.
Check whether the driver supports IEEE80211_HW_QUEUE_CONTROL
before setting the hw_queue to the mapped offchannel queue.
(This patch doesn't have any actual effect, because
hw_queue is overridden in ieee80211_tx() anyway,
so this is merely some cleanup)
Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions