Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] mac80211: add might_sleep to hw_config
@ 2008-10-14 14:38 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2008-10-14 14:38 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

Just to catch bugs when changing mac80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-14 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 14:38 [PATCH] mac80211: add might_sleep to hw_config Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox