Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca9938fe authored by Johannes Berg's avatar Johannes Berg Committed by David S. Miller
Browse files

[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: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 136e83d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5259,7 +5259,7 @@ static void __exit ieee80211_exit(void)
}


module_init(ieee80211_init);
subsys_initcall(ieee80211_init);
module_exit(ieee80211_exit);

MODULE_DESCRIPTION("IEEE 802.11 subsystem");
+1 −1
Original line number Diff line number Diff line
@@ -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");