Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203927
b: refs/heads/master
c: c4c3229
h: refs/heads/master
i:
  203925: 1d4502c
  203923: 9e79645
  203919: fdf294c
v: v3
  • Loading branch information
Yuri Ershov authored and John W. Linville committed Jul 28, 2010
1 parent 84c87fe commit 2dfffc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: d080e2755d840ede60128cc914a070868ebabc1e
refs/heads/master: c4c322941ce0d7e2b7b8794ad70683123d9cb26a
3 changes: 2 additions & 1 deletion trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ static void reg_process_hint(struct regulatory_request *reg_request)
{
int r = 0;
struct wiphy *wiphy = NULL;
enum nl80211_reg_initiator initiator = reg_request->initiator;

BUG_ON(!reg_request->alpha2);

Expand All @@ -1325,7 +1326,7 @@ static void reg_process_hint(struct regulatory_request *reg_request)
/* This is required so that the orig_* parameters are saved */
if (r == -EALREADY && wiphy &&
wiphy->flags & WIPHY_FLAG_STRICT_REGULATORY)
wiphy_update_regulatory(wiphy, reg_request->initiator);
wiphy_update_regulatory(wiphy, initiator);
out:
mutex_unlock(&reg_mutex);
mutex_unlock(&cfg80211_mutex);
Expand Down

0 comments on commit 2dfffc0

Please sign in to comment.