These patches to fix problem related to auto connect not functioning correctly or we end up with two wifi services connecting at the same time. These problem are related to the following
* Trying to auto connect while scanning. This is not needed since on scan stop auto scan will be called so we can defer this until scan finish. * Race condition that could lead to two wifi services to start connection, there are small interval of time from when we start connection until we receive AUTH/ASSOC notification from the supplicant which caused is_connecting to return FALSE when we are actually connecting. * __connman_service_auto_connect problem related that is_connecting service are not sorted so we can have a service is favorite not connected before another service is favorite and connecting cause to have two favorite connecting. * Calling connman_device_set_scanning wrongly. we needed to call connman_device_set_scanning with true then false, but these was not always the case, some time we call connman_device_set_scanning with true because supplicat start scan but never call connman_device_set_scanning with FALSE. Also supplican will call scan as association steps which lead to calling connman_device_set_scanning and leading to try to auto connect again. _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
