summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-15 22:17:40 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-17 03:34:29 -0700
commit814e3cff8ca46e92090d2f9e2abcede7471de2c3 (patch)
treee0f785ae8572e4c21eb7bb3560c60d4b852e893e /src/network.c
parent834326ac086f2c94dec541a10707da61fc6db991 (diff)
downloadconnman-814e3cff8ca46e92090d2f9e2abcede7471de2c3.tar.gz
connman-814e3cff8ca46e92090d2f9e2abcede7471de2c3.tar.bz2
connman-814e3cff8ca46e92090d2f9e2abcede7471de2c3.zip
[SPIN] Indicate auth-failed error.
desc: In case of wifi connection if Association fail, indicate "auth-failed" error. Change-Id: Ie08088f3e5b5ff940d0e4290814c266d28e59b15 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/network.c')
-rwxr-xr-xsrc/network.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 610c1369..c3976040 100755
--- a/src/network.c
+++ b/src/network.c
@@ -1377,8 +1377,13 @@ static void set_associate_error(struct connman_network *network)
service = connman_service_lookup_from_network(network);
+#if defined TIZEN_EXT
+ __connman_service_indicate_error(service,
+ CONNMAN_SERVICE_ERROR_AUTH_FAILED);
+#else
__connman_service_indicate_error(service,
CONNMAN_SERVICE_ERROR_CONNECT_FAILED);
+#endif
}
static void set_configure_error(struct connman_network *network)