projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f14df
)
cfg80211: add debug print when we drop a bogus country IE
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Thu, 7 Jan 2010 22:24:54 +0000
(17:24 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 12 Jan 2010 18:57:58 +0000
(13:57 -0500)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
patch
|
blob
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index
f79d661
..
389247c
100644
(file)
--- a/
net/wireless/reg.c
+++ b/
net/wireless/reg.c
@@
-1806,8
+1806,10
@@
void regulatory_hint_11d(struct wiphy *wiphy,
goto out;
rd = country_ie_2_rd(country_ie, country_ie_len, &checksum);
- if (!rd)
+ if (!rd) {
+ REG_DBG_PRINT("cfg80211: Ignoring bogus country IE\n");
goto out;
+ }
/*
* This will not happen right now but we leave it here for the