Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265997
b: refs/heads/master
c: d7549cb
h: refs/heads/master
i:
  265995: 6a40743
v: v3
  • Loading branch information
Sven Neumann authored and John W. Linville committed Sep 14, 2011
1 parent 3367d5a commit eede92c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 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: eac03e381957a05f3842ceb8de987a1025966ecf
refs/heads/master: d7549cbb9ab0674ef44ea15bd9f9ea1c685adfa6
19 changes: 8 additions & 11 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ struct reg_beacon {
struct ieee80211_channel chan;
};

static void wiphy_update_regulatory(struct wiphy *wiphy,
enum nl80211_reg_initiator initiator);

static void reg_todo(struct work_struct *work);
static DECLARE_WORK(reg_work, reg_todo);

Expand Down Expand Up @@ -914,14 +911,6 @@ static bool ignore_reg_update(struct wiphy *wiphy,
return false;
}

static void update_all_wiphy_regulatory(enum nl80211_reg_initiator initiator)
{
struct cfg80211_registered_device *rdev;

list_for_each_entry(rdev, &cfg80211_rdev_list, list)
wiphy_update_regulatory(&rdev->wiphy, initiator);
}

static void handle_reg_beacon(struct wiphy *wiphy,
unsigned int chan_idx,
struct reg_beacon *reg_beacon)
Expand Down Expand Up @@ -1150,6 +1139,14 @@ void regulatory_update(struct wiphy *wiphy,
mutex_unlock(&reg_mutex);
}

static void update_all_wiphy_regulatory(enum nl80211_reg_initiator initiator)
{
struct cfg80211_registered_device *rdev;

list_for_each_entry(rdev, &cfg80211_rdev_list, list)
wiphy_update_regulatory(&rdev->wiphy, initiator);
}

static void handle_channel_custom(struct wiphy *wiphy,
enum ieee80211_band band,
unsigned int chan_idx,
Expand Down

0 comments on commit eede92c

Please sign in to comment.