From: Johannes Berg Date: Fri, 8 Feb 2013 11:07:44 +0000 (+0100) Subject: mac80211: explicitly copy channels to VLANs where needed X-Git-Tag: v3.9-rc1~139^2~31^2^2~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f4ac5a63f897a480fffd0d5c843b03f02c384a5;p=pandora-kernel.git mac80211: explicitly copy channels to VLANs where needed Currently the code assigns channel contexts to VLANs (for use by the TX/RX code) when the AP master gets its channel context assigned. This works fine, but in the upcoming radar detection work the VLANs don't require a channel context (during radar detection) and assigning one to them anyway causes issues with locking and also inconsistencies -- a VLAN interface that is added before radar detection would get the channel context, while one added during it wouldn't. Fix these issues moving the channel context copying to a new explicit operation that will not be used in the radar detection code. Acked-by: Simon Wunderlich Signed-off-by: Johannes Berg --- Reading git-diff-tree failed