summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 05:44:34 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 05:44:34 (GMT)
commit90d91383bf00b647a3e07488cf3913463842c5b6 (patch)
tree4f870e607968310599b8f64676c8ec8c83053497
parent4000e9e89098cfadfc376c7d230b32eccc00bdf4 (diff)
downloadconnman-90d91383bf00b647a3e07488cf3913463842c5b6.zip
connman-90d91383bf00b647a3e07488cf3913463842c5b6.tar.gz
connman-90d91383bf00b647a3e07488cf3913463842c5b6.tar.bz2
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>
-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);
}