netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cfg80211: fix initialisation if built-in
@ 2007-09-10 11:44 Johannes Berg
       [not found] ` <1189424685.4506.63.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2007-09-10 11:44 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless, netdev, Rob Hussey, stable

When cfg80211 is built into the kernel it needs to init earlier
so that device registrations are run after it has initialised.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 net/wireless/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-dev.orig/net/wireless/core.c	2007-09-10 13:00:18.567257487 +0200
+++ wireless-dev/net/wireless/core.c	2007-09-10 13:00:59.837219347 +0200
@@ -363,7 +363,7 @@ out_fail_notifier:
 out_fail_sysfs:
 	return err;
 }
-module_init(cfg80211_init);
+subsys_initcall(cfg80211_init);
 
 static void cfg80211_exit(void)
 {



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-21 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 11:44 [PATCH] cfg80211: fix initialisation if built-in Johannes Berg
     [not found] ` <1189424685.4506.63.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
2007-09-11  1:04   ` Magnus Damm
2007-09-11  1:18     ` Rob Hussey
2007-09-11 10:24     ` Johannes Berg
2007-09-21 22:02   ` [stable] " Greg KH
2007-09-21 22:06     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).