summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2013-04-16 17:43:48 +0900
committerZhang zhengguang <zhengguang.zhang@intel.com>2013-07-01 11:20:23 +0800
commit74aa0e84aeb9c42960b4ffd095516c9ac0673aa5 (patch)
tree3ad549b5b6b35a7c873bf1e51a9718f7eb9bf2f4 /src/service.c
parent936ec03de949ffa457b3ee778c369a9a4fc2e42f (diff)
downloadconnman-74aa0e84aeb9c42960b4ffd095516c9ac0673aa5.tar.gz
connman-74aa0e84aeb9c42960b4ffd095516c9ac0673aa5.tar.bz2
connman-74aa0e84aeb9c42960b4ffd095516c9ac0673aa5.zip
Fix Wi-Fi WEP OPEN and WEP SHARED
Unable to connect with the WEP(open key) mode AP again with correct password if connecting the AP with wrong password before. Fix this issue.
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 3f6f12c9..0bb77afc 100644
--- a/src/service.c
+++ b/src/service.c
@@ -5430,7 +5430,13 @@ int __connman_service_indicate_error(struct connman_service *service,
set_error(service, error);
+#if defined TIZEN_EXT
+ if (service->favorite == FALSE &&
+ (service->error == CONNMAN_SERVICE_ERROR_INVALID_KEY ||
+ service->error == CONNMAN_SERVICE_ERROR_CONNECT_FAILED))
+#else
if (service->error == CONNMAN_SERVICE_ERROR_INVALID_KEY)
+#endif
__connman_service_set_passphrase(service, NULL);
__connman_service_ipconfig_indicate_state(service,