]> Pileus Git - ~andy/linux/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)
commit6924d0138acdf5026ee4463134d98e139fe025a2
tree97ced66fdc8e6652278fc562775ab74128434682
parent5fe2bb8688cad3608f9fe0d0875f9f6ff776ba51
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