summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-10 13:44:45 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-09-25 22:55:44 -0700
commit3a4624652e68ee897145ac698a85bfd2603367c3 (patch)
tree73d35ee1454ae2cc3e1dff91bd21e4251113bea6 /net/wireless
parent7b5ee3a038c869e773092834abaa8174e0d77514 (diff)
downloadlwn-3a4624652e68ee897145ac698a85bfd2603367c3.tar.gz
lwn-3a4624652e68ee897145ac698a85bfd2603367c3.zip
[PATCH] cfg80211: fix initialisation if built-in
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index 7eabd55417a5..9771451eae21 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -213,7 +213,7 @@ out_fail_notifier:
out_fail_sysfs:
return err;
}
-module_init(cfg80211_init);
+subsys_initcall(cfg80211_init);
static void cfg80211_exit(void)
{