cfg80211: rename reg_device_remove() to wiphy_regulatory_deregister()
This makes it clearer what we're doing. This now makes a bit more sense given that regardless of the wiphy if the cell base station hint feature is supported we will be modifying the way the regulatory core behaves. 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
57b5ce072e
commit
bfead0808c
3 changed files with 7 additions and 5 deletions
|
@ -653,9 +653,11 @@ void wiphy_unregister(struct wiphy *wiphy)
|
|||
/* nothing */
|
||||
cfg80211_unlock_rdev(rdev);
|
||||
|
||||
/* If this device got a regulatory hint tell core its
|
||||
* free to listen now to a new shiny device regulatory hint */
|
||||
reg_device_remove(wiphy);
|
||||
/*
|
||||
* If this device got a regulatory hint tell core its
|
||||
* free to listen now to a new shiny device regulatory hint
|
||||
*/
|
||||
wiphy_regulatory_deregister(wiphy);
|
||||
|
||||
cfg80211_rdev_list_generation++;
|
||||
device_del(&rdev->wiphy.dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue