]> git.ipfire.org Git - people/ms/linux.git/commit - net/mac80211/iface.c
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>
Mon, 27 May 2013 09:26:47 +0000 (11:26 +0200)
commit1351c5d3b189a487fbacd5cdf2dc3e6faf12c682
tree4a413eb44b2aa8e5eca43c0a37c393b2d89b976e
parent4325d724cd91643c727ca4cb063e8bb19989950b
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