]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refuse TX queue configuration on non-QoS HW
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Mar 2012 09:04:25 +0000 (11:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:10 +0000 (14:54 -0400)
commit1786ade53a1828bf330078192ac7d50a28310579
tree9de43e51ce2195f5a81fa75770417c584ef50254
parentee0ea2a6eca57ea6279db54e6d2381b546f999f8
mac80211: refuse TX queue configuration on non-QoS HW

Drivers that don't support QoS also don't support
setting up their ACs, catch that early. While at
it, remove the input check since cfg80211 does it
now.

Also fix up the restart code to not try to set up
the queues in this case.

Finally also change the tx_conf array to have
IEEE80211_NUM_ACS entries instead of # of queues
since that's what it really needs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/util.c