diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-12-06 10:33:53 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-12-06 10:33:53 +0530 |
commit | 48cfe1ca19b7b059cb9a7616292e8c55b5985cca (patch) | |
tree | 40e0875daef3f1c32071f39befa8dfb76c6bacb0 /src | |
parent | 3bc3207f6835cd1291be6afe051994aa2fb814e6 (diff) | |
download | connman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.tar.gz connman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.tar.bz2 connman-48cfe1ca19b7b059cb9a7616292e8c55b5985cca.zip |
[connman] Added wifi connection when invalid-key error occurred.
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>
Diffstat (limited to 'src')
-rwxr-xr-x | src/network.c | 3 |
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); } |