mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
136e83d6b8
commit
ca9938fea5
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue