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>
This commit is contained in:
parent
bfead0808c
commit
f8a1c77457
3 changed files with 4 additions and 4 deletions
|
@ -543,7 +543,6 @@ int wiphy_register(struct wiphy *wiphy)
|
|||
|
||||
/* set up regulatory info */
|
||||
wiphy_regulatory_register(wiphy);
|
||||
regulatory_update(wiphy, NL80211_REGDOM_SET_BY_CORE);
|
||||
|
||||
list_add_rcu(&rdev->list, &cfg80211_rdev_list);
|
||||
cfg80211_rdev_list_generation++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue