diff options
-rw-r--r-- | plugins/wifi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 0860938e..aeeb912e 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -301,8 +301,8 @@ static void scan_callback(int result, GSupplicantInterface *interface, if (result < 0) connman_device_reset_scanning(device); - else - connman_device_set_scanning(device, FALSE); + + connman_device_set_scanning(device, FALSE); connman_device_unref(device); } |