[connman] Added wifi connection when invalid-key error occurred. 51/102551/1 accepted/tizen/3.0/common/20161209.094950 accepted/tizen/3.0/ivi/20161209.002747 accepted/tizen/3.0/mobile/20161209.002649 accepted/tizen/3.0/tv/20161209.002702 accepted/tizen/3.0/wearable/20161209.002725 submit/tizen_3.0/20161208.101854
authorNiraj Kumar Goit <niraj.g@samsung.com>
Tue, 6 Dec 2016 05:44:34 +0000 (11:14 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Tue, 6 Dec 2016 05:44:34 +0000 (11:14 +0530)
When invalid-key error occurs users need to enter the valid
password to connect with Wi-Fi AP.

Change-Id: I982d98006ea5515a354bc655e0beadbb3d896fe6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/network.c

index 491515f..6c275c4 100755 (executable)
@@ -1385,6 +1385,9 @@ static void set_invalid_key_error(struct connman_network *network)
 
        service = connman_service_lookup_from_network(network);
 
+#if defined TIZEN_EXT
+       __connman_service_set_favorite(service, false);
+#endif
        __connman_service_indicate_error(service,
                                        CONNMAN_SERVICE_ERROR_INVALID_KEY);
 }