From 41ac2566edce6654383a2f212567114621fcc834 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Thu, 26 Apr 2012 10:30:20 +0300 Subject: [PATCH] wifi: Set connected to false before associating when disconnected This way it will trigger the error which will be reported to service. --- plugins/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 6f750e5..126f7a5 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -1225,8 +1225,8 @@ static void interface_state(GSupplicantInterface *interface) FALSE) != 0) DBG("Could not disables selected network"); - connman_network_set_associating(network, FALSE); connman_network_set_connected(network, FALSE); + connman_network_set_associating(network, FALSE); start_autoscan(device); -- 2.7.4