Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134929
b: refs/heads/master
c: 915278e
h: refs/heads/master
i:
  134927: 048fc4f
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Feb 27, 2009
1 parent 25b021a commit ed73398
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 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: d335fe6391c2d86582cf71ef5773a161ee604608
refs/heads/master: 915278e099e532f3a874764e28c81958f788b9f1
14 changes: 8 additions & 6 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,14 +1331,16 @@ void regulatory_hint_11d(struct wiphy *wiphy,
if (!rd)
goto out;

/* This will not happen right now but we leave it here for the
/*
* This will not happen right now but we leave it here for the
* the future when we want to add suspend/resume support and having
* the user move to another country after doing so, or having the user
* move to another AP. Right now we just trust the first AP. This is why
* this is marked as likley(). If we hit this before we add this support
* we want to be informed of it as it would indicate a mistake in the
* current design */
if (likely(WARN_ON(reg_same_country_ie_hint(wiphy, checksum))))
* move to another AP. Right now we just trust the first AP.
*
* If we hit this before we add this support we want to be informed of
* it as it would indicate a mistake in the current design
*/
if (WARN_ON(reg_same_country_ie_hint(wiphy, checksum)))
goto out;

/* We keep this around for when CRDA comes back with a response so
Expand Down

0 comments on commit ed73398

Please sign in to comment.