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? johannes -- 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