Hi Patrik,

On Fri, Sep 02, 2011 at 01:34:51PM +0300, [email protected] wrote:
> @@ -758,10 +758,8 @@ int __connman_technology_remove_device(struct 
> connman_device *device)
>  
>       technology->device_list = g_slist_remove(technology->device_list,
>                                                               device);
> -     if (technology->device_list == NULL) {
> -             technology->state = CONNMAN_TECHNOLOGY_STATE_OFFLINE;
> -             state_changed(technology);
> -     }
> +     if (technology->device_list == NULL)
> +             __connman_technology_disabled(type);
I think Arron's fix is better, as we simply want to get rid of the technology,
when all its devices are gone.

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