Skip to content

Commit

Permalink
[PATCH] mac80211: fix initialisation when built-in
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and David S. Miller committed Sep 26, 2007
1 parent 136e83d commit ca9938f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/mac80211/ieee80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion net/mac80211/rc80211_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ca9938f

Please sign in to comment.