summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-12-12 09:25:33 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2016-12-12 09:26:47 (GMT)
commitb625b88d3ce8b06ca21210e1e10a1532a6f5ab75 (patch)
treeabfddfbaeb2732175af080604ce17845a308f919
parentd72c949b425df0c237cb3667c72bb564ae301a3e (diff)
downloadconnman-accepted/tizen/mobile/20161213.003235.zip
connman-accepted/tizen/mobile/20161213.003235.tar.gz
connman-accepted/tizen/mobile/20161213.003235.tar.bz2
Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xsrc/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c
index 6c275c4..715c8ea 100755
--- a/src/network.c
+++ b/src/network.c
@@ -1386,7 +1386,8 @@ 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);
+ if (service)
+ __connman_service_set_favorite(service, false);
#endif
__connman_service_indicate_error(service,
CONNMAN_SERVICE_ERROR_INVALID_KEY);