]> 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)
commit0c87f8f28668744619c6c0fda51a9bb1e14cada7
tree97ced66fdc8e6652278fc562775ab74128434682
parenteb746f1f48dc692f7bbfe722b2089e36c4448146
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