cfg80211: allow setting TXQ parameters only in AP mode
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 Nov 2011 13:50:13 +0000 (14:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Nov 2011 18:19:14 +0000 (13:19 -0500)
commit133a3ff2c934223a8143bfa52401bba962a97165
tree61618a358b6d895ed3c3e5764b7b1e5dc0f2c74a
parent6c7394197af90f6a332180e33f5d025d3037d883
cfg80211: allow setting TXQ parameters only in AP mode

In other modes the parameters should not be set.
Right now, mac80211 will set them, even if the
user asked for setting them on VLANs which the
driver doesn't know about, causing all kinds of
trouble.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c