]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: assign AP_VLAN hw queues correctly
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2013 21:09:56 +0000 (23:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2013 21:11:33 +0000 (23:11 +0200)
commit5a988b3a0606cfe6b2b2cf11ebe2a56725c4ba6a
tree81733ccf910470d439686f69f0210076a5baf8b3
parentcb072ca464d4b3848b9d8e0ee907b8659adc554f
mac80211: assign AP_VLAN hw queues correctly

A lot of code in mac80211 assumes that the hw queues are
set up correctly for all interfaces (except for monitor)
but this isn't true for AP_VLAN interfaces. Fix this by
copying the AP master configuration when an AP VLAN is
brought up, after this the AP interface can't change its
configuration any more and needs to be brought down to
change it, which also forces AP_VLAN interfaces down, so
just copying in open() is sufficient.

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c