regulatory: remove locking from wiphy_apply_custom_regulatory
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 23:19:24 +0000 (00:19 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:27 +0000 (13:01 +0100)
commit540f6f2cc545da9ae2baa9faa3152fc550bedb57
tree025838203fff0b4282adb554a02ff6dcd5237988
parente8da2bb4fe9ecb888f44714e2624c7d4268ac09d
regulatory: remove locking from wiphy_apply_custom_regulatory

wiphy_apply_custom_regulatory() doesn't have to hold
the regulatory mutex as it only modifies the given
wiphy with the given regulatory domain, it doesn't
access any global regulatory data.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c