Just to catch bugs when changing mac80211. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/main.c | 2 ++ 1 file changed, 2 insertions(+) --- everything.orig/net/mac80211/main.c 2008-10-14 16:37:12.000000000 +0200 +++ everything/net/mac80211/main.c 2008-10-14 16:37:23.000000000 +0200 @@ -203,6 +203,8 @@ int ieee80211_hw_config(struct ieee80211 int ret = 0; int power; + might_sleep(); + if (local->sw_scanning) chan = local->scan_channel; else -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html