summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index b7eea7b1..9cddb61d 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -247,7 +247,7 @@ static void state_change(struct connman_element *device,
}
reconnect:
- if (state == STATE_INACTIVE || state == STATE_DISCONNECTED) {
+ if (state == STATE_INACTIVE) {
data->connected = FALSE;
connect_known_networks(device);
}