Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315584
b: refs/heads/master
c: bfead08
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Johannes Berg committed Jul 17, 2012
1 parent 256e6f1 commit fcd90d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 57b5ce072e7361218a8e2ea1d62960cbb71d9cff
refs/heads/master: bfead0808c3b1fff3b94daceef0a0a48e73c42a9
8 changes: 5 additions & 3 deletions trunk/net/wireless/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2391,7 +2391,7 @@ void wiphy_regulatory_register(struct wiphy *wiphy)
}

/* Caller must hold cfg80211_mutex */
void reg_device_remove(struct wiphy *wiphy)
void wiphy_regulatory_deregister(struct wiphy *wiphy)
{
struct wiphy *request_wiphy = NULL;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/wireless/reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int regulatory_hint_user(const char *alpha2,

int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env);
void wiphy_regulatory_register(struct wiphy *wiphy);
void reg_device_remove(struct wiphy *wiphy);
void wiphy_regulatory_deregister(struct wiphy *wiphy);

int __init regulatory_init(void);
void regulatory_exit(void);
Expand Down

0 comments on commit fcd90d7

Please sign in to comment.