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@xxxxxxxxxxxxxxxx> --- net/mac80211/ieee80211.c | 2 +- net/mac80211/rc80211_simple.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- wireless-dev.orig/net/mac80211/ieee80211.c 2007-09-11 12:48:01.272841092 +0200 +++ wireless-dev/net/mac80211/ieee80211.c 2007-09-11 12:48:06.232834148 +0200 @@ -1501,7 +1501,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"); --- wireless-dev.orig/net/mac80211/rc80211_simple.c 2007-09-11 12:48:11.502839735 +0200 +++ wireless-dev/net/mac80211/rc80211_simple.c 2007-09-11 12:48:17.552835992 +0200 @@ -423,7 +423,7 @@ static void __exit rate_control_simple_e } -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"); - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html