On Wed, Jul 21, 2010 at 8:21 AM, Maxime Bizon <mbizon@xxxxxxxxxx> wrote: > From: Maxime Bizon <mbizon@xxxxxxxxxx> > > device_add() is called before adding the phy to the cfg80211 device > list. > > So if a userspace program uses sysfs uevents to detect new phy > devices, and queries nl80211 to get phy info, it can get ENODEV even > though the phy exists in sysfs. > > An easy workaround is to hold the cfg80211 mutex until the phy is > present in sysfs/cfg80211/debugfs. > > Signed-off-by: Maxime Bizon <mbizon@xxxxxxxxxx> > --- You should resubmit as a new e-mail with a subject of [PATCH v2]. 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