Apparently when doing all the cfg80211 changes I accidentally removed the nl80211 registration. This patch adds it back. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/wireless/core.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) --- wireless-dev.orig/net/wireless/core.c 2007-02-22 12:10:05.824688035 +0100 +++ wireless-dev/net/wireless/core.c 2007-02-22 12:11:52.384688035 +0100 @@ -242,19 +242,23 @@ EXPORT_SYMBOL(wiphy_free); static int cfg80211_init(void) { int err = wiphy_sysfs_init(); - if (err) return err; err = cfg80211_wext_init(); - if (err) goto out_exit_sysfs; + err = nl80211_init(); + if (err) + goto out_nl80211; + ieee80211_debugfs_dir = debugfs_create_dir("ieee80211", NULL); return 0; + out_nl80211: + cfg80211_wext_exit(); out_exit_sysfs: wiphy_sysfs_exit(); @@ -265,6 +269,7 @@ module_init(cfg80211_init); static void cfg80211_exit(void) { debugfs_remove(ieee80211_debugfs_dir); + nl80211_exit(); cfg80211_wext_exit(); wiphy_sysfs_exit(); } - 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