cfg80211: remove regulatory_update()
authorLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
Thu, 12 Jul 2012 18:49:21 +0000 (11:49 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 17 Jul 2012 10:16:41 +0000 (12:16 +0200)
commit14cdf112019c1d4bc0f1bf9a9c832be641dbe25a
treea87627bd88a2f07322e06c08f6448ac240f64f61
parentf8a1c774570ab50f1657083c990b968d5f7f22cb
cfg80211: remove regulatory_update()

regulatory_update() just calls wiphy_update_regulatory().
wiphy_update_regulatory() assumes you already have
the reg_mutex held so just move the call within locking
context and kill the superfluous regulatory_update().

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