mac80211: simplify AP_VLAN handling
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:18 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:48:24 +0000 (14:48 -0500)
commit077f49392819608084c6d8d20e3dcca230afe07d
tree7b19e4537933e9c7e0524421d16701576c4b74b2
parentc8987876e9bf9b7b83e75b325586bc77ea8ac825
mac80211: simplify AP_VLAN handling

Setting keys and updating TKIP keys must use the
BSS sdata (not AP_VLAN), so we translate. Move
the translation into driver-ops wrappers instead
of having it inline in the code to simplify the
normal code flow.

The same can be done for sta_add/remove which
already does the translation in the wrapper.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/driver-ops.h
net/mac80211/key.c
net/mac80211/pm.c
net/mac80211/sta_info.c
net/mac80211/util.c