service: Initiate scan when not retrying a failed connection
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 2 Dec 2010 16:00:53 +0000 (17:00 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 2 Dec 2010 16:00:53 +0000 (17:00 +0100)
src/service.c

index 03fb2cb..c49cb00 100644 (file)
@@ -2950,6 +2950,7 @@ static void report_error_cb(struct connman_service *service,
        else {
                service_complete(service);
                __connman_profile_changed(FALSE);
+               __connman_element_request_scan(CONNMAN_ELEMENT_TYPE_UNKNOWN);
        }
 }