From: Marcel Holtmann Date: Mon, 15 Dec 2008 02:41:03 +0000 (+0100) Subject: Only connect known networks when in inactive state X-Git-Tag: 2.0_alpha~4429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a714e90ed686264d17e4eddd343c91075d10f27;p=framework%2Fconnectivity%2Fconnman.git Only connect known networks when in inactive state --- diff --git a/plugins/wifi.c b/plugins/wifi.c index b7eea7b..9cddb61 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); }