commit | cb121bad67a32cde37adc2729b7e18aa4fd3063e | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Tue Oct 14 16:38:55 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 31 19:00:22 2008 -0400 |
tree | ec0eee59130288c806055a42679e7120b1ddbf17 | |
parent | faf3994a9f65fd95a68bbcc03c318a427cd1e7d3 [diff] |
mac80211: add might_sleep to hw_config Just to catch bugs when changing mac80211. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index ab8a860..ffff549 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c
@@ -203,6 +203,8 @@ int ret = 0; int power; + might_sleep(); + if (local->sw_scanning) chan = local->scan_channel; else