summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 11:14:34 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-12-06 11:14:34 +0530
commit90d91383bf00b647a3e07488cf3913463842c5b6 (patch)
tree4f870e607968310599b8f64676c8ec8c83053497
parent4000e9e89098cfadfc376c7d230b32eccc00bdf4 (diff)
downloadconnman-submit/tizen_3.0/20161208.101854.tar.gz
connman-submit/tizen_3.0/20161208.101854.tar.bz2
connman-submit/tizen_3.0/20161208.101854.zip
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 491515fc..6c275c46 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);
}