Re: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-15 Thread Tomasz Bursztyka
Hi Pasi, connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10 connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10, err -19 Can you print also the device index to see it's value? connmand[21072]: src/device.c:__connman_device_enable() device 0x1326e98, err

RE: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-15 Thread Pasi Sjöholm
Hi Tomasz, >> connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10 >> connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10, err >> -19 >Can you print also the device index to see it's value? connmand[21072]: src/device.c:__connman_device_enable() device 0x13

Re: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-15 Thread Tomasz Bursztyka
Hi Pasi, connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10 connmand[2510]: src/device.c:__connman_device_enable() device 0x1cc9d10, err -19 Can you print also the device index to see it's value? Tomasz ___ connman mailing list

RE: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-13 Thread Pasi Sjöholm
] Sent: Thursday, August 07, 2014 12:05 To: connman@connman.net Subject: [PATCH v2] device: Make sure the device is up and running before enabling it It can happen that, after a unproper ConnMan exit, a device is still up. Once ConnMan is restarted cleanup_devices() will put this device down. But

Re: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-08 Thread Patrik Flykt
On Thu, 2014-08-07 at 12:05 +0300, Tomasz Bursztyka wrote: > It can happen that, after a unproper ConnMan exit, a device is still up. > Once ConnMan is restarted cleanup_devices() will put this device down. > But then, it will never set it up again. Applied, thanks! Patrik __

Re: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-07 Thread Richard Röjfors
On Thu, Aug 7, 2014 at 11:05 AM, Tomasz Bursztyka < tomasz.burszt...@linux.intel.com> wrote: > It can happen that, after a unproper ConnMan exit, a device is still up. > Once ConnMan is restarted cleanup_devices() will put this device down. > But then, it will never set it up again. > > 04:08:45 c

[PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-07 Thread Tomasz Bursztyka
It can happen that, after a unproper ConnMan exit, a device is still up. Once ConnMan is restarted cleanup_devices() will put this device down. But then, it will never set it up again. 04:08:45 connmand[254]: src/device.c:__connman_device_init() 04:08:45 connmand[254]: src/inet.c:__connman_inet_ge