diff options
author | Luis R. Rodriguez <mcgrof@qca.qualcomm.com> | 2012-07-12 14:49:20 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-17 06:16:40 -0400 |
commit | f8a1c774570ab50f1657083c990b968d5f7f22cb (patch) | |
tree | 51bed08b4510199daf76709e24a1f49030a1a6d0 /net/wireless/core.c | |
parent | bfead0808c3b1fff3b94daceef0a0a48e73c42a9 (diff) |
cfg80211: make regulatory_update() static
Now that we have wiphy_regulatory_register() we can
tuck away the core's regulatory_update() call there
and make it static.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index 58485964e50b..31b40cc4a9c3 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c | |||
@@ -543,7 +543,6 @@ int wiphy_register(struct wiphy *wiphy) | |||
543 | 543 | ||
544 | /* set up regulatory info */ | 544 | /* set up regulatory info */ |
545 | wiphy_regulatory_register(wiphy); | 545 | wiphy_regulatory_register(wiphy); |
546 | regulatory_update(wiphy, NL80211_REGDOM_SET_BY_CORE); | ||
547 | 546 | ||
548 | list_add_rcu(&rdev->list, &cfg80211_rdev_list); | 547 | list_add_rcu(&rdev->list, &cfg80211_rdev_list); |
549 | cfg80211_rdev_list_generation++; | 548 | cfg80211_rdev_list_generation++; |