On 9/25/07, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > --- wireless-dev.orig/net/mac80211/ieee80211_iface.c 2007-09-25 22:26:40.111572537 +0200 > +++ wireless-dev/net/mac80211/ieee80211_iface.c 2007-09-25 23:28:21.651570910 +0200 > @@ -127,6 +127,12 @@ int ieee80211_if_add_mgmt(struct ieee802 > if (ret) > goto fail; > > + /* > + * Called even when register_netdevice fails, it would > + * oops if assigned before initialising the rest. > + */ > + ndev->uninit = ieee80211_if_reinit; > + > ieee80211_debugfs_add_netdev(nsdata); > > if (local->open_count > 0) What still uses ieee80211_if_add_mgmt()? I don't see anything using it. Also, did we decide on what to do with IEEE80211_IF_TYPE_MGMT? Luis - 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