summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 05:03:53 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 05:03:53 (GMT)
commit48cfe1ca19b7b059cb9a7616292e8c55b5985cca (patch)
tree40e0875daef3f1c32071f39befa8dfb76c6bacb0
parent3bc3207f6835cd1291be6afe051994aa2fb814e6 (diff)
downloadconnman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.zip
connman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.tar.gz
connman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.tar.bz2
[connman] Added wifi connection when invalid-key error occurred.refs/changes/29/102529/1
When invalid-key error occurs users need to enter the valid password to connect with Wi-Fi AP. Change-Id: I7dd56186b09060bfad920721316b7b8ccb64e844 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-xsrc/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 491515f..6c275c4 100755
--- a/src/network.c
+++ b/src/network.c
@@ -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);
}