On Mon, 28 Sep 2009, Johannes Berg wrote: > The move away from wireless handlers the drivers assign > to wireless handlers being assigned by cfg80211 broke > the sysfs registration (the wireless/ dir went missing) > because the handlers were assigned only after sysfs > registration and thus the registration never noticed a > device was wireless. I couldn't make much sense of that: too much assigning! > > Fix this by special-casing cfg80211-based devices, all > of which are required to have an ieee80211_ptr, in the > sysfs code, and also using get_wireless_stats() to have > the same values reported as in procfs. > > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > Reported-by: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx> I confirm this works for me too: I won't venture an ignorant opinion on which is the right solution; but my failed boots do suggest that keeping away from the notifier infrastructure may make a wiser fix. Thanks a lot for all your efforts on this, Johannes. Hugh -- 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