mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 19:55:14 -04:00
[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>
This commit is contained in:
committed by
David S. Miller
parent
7b5ee3a038
commit
3a4624652e
@@ -213,7 +213,7 @@ static int cfg80211_init(void)
|
||||
out_fail_sysfs:
|
||||
return err;
|
||||
}
|
||||
module_init(cfg80211_init);
|
||||
subsys_initcall(cfg80211_init);
|
||||
|
||||
static void cfg80211_exit(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user