]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove unnecessary iflist_mtx locking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Dec 2013 18:44:59 +0000 (19:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 19 Dec 2013 12:33:13 +0000 (13:33 +0100)
commitcb4c2429768c0afd0b189aca65e7fda7de93c0b2
tree97ced66fdc8e6652278fc562775ab74128434682
parent60f5402d3302c48a567e54baada5bed0102bc3af
mac80211: remove unnecessary iflist_mtx locking

The radar detection code changed a few times, and due to
the changes some iflist_mtx locking stayed in that isn't
actually necessary - remove it.

One version of the code needed it because an AP interface's
VLAN list was changed to use this, but then we moved the
list handling outside of the chanctx handling and thus the
locking was no longer needed.

Tested-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/iface.c