Skip to content

Commit

Permalink
[PATCH] cfg80211: fix initialisation if built-in
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and David S. Miller committed Sep 26, 2007
1 parent 7b5ee3a commit 3a46246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3a46246

Please sign in to comment.