Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134928
b: refs/heads/master
c: d335fe6
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Feb 27, 2009
1 parent 048fc4f commit 25b021a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 806a9e39670be4f1f861c346ec102a79e81b90c3
refs/heads/master: d335fe6391c2d86582cf71ef5773a161ee604608
8 changes: 5 additions & 3 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1261,11 +1261,13 @@ void regulatory_hint_11d(struct wiphy *wiphy,
u32 checksum = 0;
enum environment_cap env = ENVIRON_ANY;

if (!last_request)
return;

mutex_lock(&cfg80211_mutex);

if (unlikely(!last_request)) {
mutex_unlock(&cfg80211_mutex);
return;
}

/* IE len must be evenly divisible by 2 */
if (country_ie_len & 0x01)
goto out;
Expand Down

0 comments on commit 25b021a

Please sign in to comment.