diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-11 12:50:32 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-09-26 07:55:45 +0200 |
commit | ca9938fea576ebbb8d8c4fbe8a5bcc937e49e1ca (patch) | |
tree | b14b31646f48d181cfd0f7c241655e27b97a7f3d /net/mac80211/rc80211_simple.c | |
parent | [PATCH] net/mac80211/wme.c: fix sparse warning (diff) | |
download | linux-ca9938fea576ebbb8d8c4fbe8a5bcc937e49e1ca.tar.xz linux-ca9938fea576ebbb8d8c4fbe8a5bcc937e49e1ca.zip |
[PATCH] mac80211: fix initialisation when built-in
When mac80211 is built into the kernel it needs to init earlier
so that device registrations are run after it has initialised.
The same applies to rate control algorithms.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_simple.c')
-rw-r--r-- | net/mac80211/rc80211_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_simple.c b/net/mac80211/rc80211_simple.c index f6780d63b342..17b9f46bbf2b 100644 --- a/net/mac80211/rc80211_simple.c +++ b/net/mac80211/rc80211_simple.c @@ -431,7 +431,7 @@ static void __exit rate_control_simple_exit(void) } -module_init(rate_control_simple_init); +subsys_initcall(rate_control_simple_init); module_exit(rate_control_simple_exit); MODULE_DESCRIPTION("Simple rate control algorithm for ieee80211"); |