Hi guys,

On Wed, Oct 13, 2010 at 10:33:04AM +0800, [email protected] wrote:
> From: Lee, Chun-Yi <[email protected]>
> 
> There have a race condition issue in connman between wifi driver object with
> element->driver reference.
> On some machine, the wifi driver object doesn't generate before we try to
> register a element. It causes element->driver is NULL, and will not do
> driver->remove when remove element.
Do you mean that the wifi device is not probed when the wifi device driver is
probed ?
That is to say, connman_device_register() for the wifi device was not called
yet when connman_device_driver_register() is called for the wifi driver ?

I suppose you're running a pre 0.62 ConnMan release. In that case, udev.c
enumerates all devices and registers them. For all available network devices,
add_net_device() eventually calls connman_device_register(). Only after that
happens, all plugins init routines are called and e.g.
connman_device_driver_register() is called from the wifi-legacy plugin.

Could you please send a complete connman.log with full debug of your failure
case, from when connmand starts up until you stop it ? 

 
> Signed-off-by: Lee, Chun-Yi <[email protected]>
We don't SOB for ConnMan.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to