On Tue, Aug 31, 2010 at 08:51:17AM +0200, Johannes Berg wrote: > Thanks, > > > + res = rfkill_register(rdev->rfkill); > > + if (res) > > + return res; > > + > > mutex_lock(&cfg80211_mutex); > > > > res = device_add(&rdev->wiphy.dev); > > if (res) > > goto out_unlock; > > but does that behave correctly in sysfs? rfkill_register should create > some sysfs stuff that points to the device that now only gets added > later, doesn't that break things? Yeah, I see that now -- should have looked closer. John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- 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