projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf3994
)
mac80211: add might_sleep to hw_config
author
Johannes Berg
<johannes@sipsolutions.net>
Tue, 14 Oct 2008 14:38:55 +0000
(16:38 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:22 +0000
(19:00 -0400)
Just to catch bugs when changing mac80211.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/main.c
b/net/mac80211/main.c
index ab8a860444af48d51a144cf8983db9710faf8fa8..ffff54944f9d718b8fa8994634561bd0ec156588 100644
(file)
--- a/
net/mac80211/main.c
+++ b/
net/mac80211/main.c
@@
-203,6
+203,8
@@
int ieee80211_hw_config(struct ieee80211_local *local, u32 changed)
int ret = 0;
int power;
+ might_sleep();
+
if (local->sw_scanning)
chan = local->scan_channel;
else