Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134215
b: refs/heads/master
c: 5eebade
h: refs/heads/master
i:
  134213: fb3110f
  134211: c6d5745
  134207: eb4d205
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jan 29, 2009
1 parent a15de4b commit 0829728
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34f573473a659f8c2727d8d408e17b241900c28e
refs/heads/master: 5eebade608d695e30e89d4c5ca6136a58f24ed14
10 changes: 10 additions & 0 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,16 @@ static int ignore_request(struct wiphy *wiphy, enum reg_set_by set_by,
if (last_request->initiator == REGDOM_SET_BY_USER &&
last_request->intersect)
return -EOPNOTSUPP;
/* Process user requests only after previous user/driver/core
* requests have been processed */
if (last_request->initiator == REGDOM_SET_BY_CORE ||
last_request->initiator == REGDOM_SET_BY_DRIVER ||
last_request->initiator == REGDOM_SET_BY_USER) {
if (!alpha2_equal(last_request->alpha2,
cfg80211_regdomain->alpha2))
return -EAGAIN;
}

return 0;
}

Expand Down

0 comments on commit 0829728

Please sign in to comment.