projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58f9f6
)
cfg80211: "fix" 11d oops
author
Johannes Berg
<johannes@sipsolutions.net>
Mon, 1 Dec 2008 17:13:05 +0000
(18:13 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:46 +0000
(09:35 -0500)
This "fixes" the 11d oops I was seeing. This needs some more work but I
cannot work on it now.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
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 9e5a9f9754782559533928ee9f6c43606cd6b32d..4f877535e666ba8f22f9af132628e510d1627b94 100644
(file)
--- a/
net/wireless/reg.c
+++ b/
net/wireless/reg.c
@@
-989,6
+989,9
@@
void regulatory_hint_11d(struct wiphy *wiphy,
u32 checksum = 0;
enum environment_cap env = ENVIRON_ANY;
+ if (!last_request)
+ return;
+
mutex_lock(&cfg80211_drv_mutex);
/* IE len must be evenly divisible by 2 */