]> 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)
commitc1ff48c8950b4eb33d112e583a4be639405d4a32
tree9de43e51ce2195f5a81fa75770417c584ef50254
parent7460778b22691062d0bd6b9174c04e45ce2e4451
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