projects
/
platform
/
core
/
connectivity
/
wifi-mesh-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c26f05
)
Return if it fails to get softap configurations
26/160326/1
accepted/tizen/unified/20171116.060641
submit/tizen/20171115.105732
author
Saurav Babu
<saurav.babu@samsung.com>
Wed, 15 Nov 2017 10:23:50 +0000
(15:53 +0530)
committer
Saurav Babu
<saurav.babu@samsung.com>
Wed, 15 Nov 2017 10:26:16 +0000
(15:56 +0530)
When we fail to get softap configurations then ssid is still
uninitialized and printing it leads to crash
Change-Id: If37d271dcc518fd6d8bc3e0a1e55cd271e2f9c17
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/wmesh-service-interface.c
patch
|
blob
|
history
diff --git
a/src/wmesh-service-interface.c
b/src/wmesh-service-interface.c
index
7eac245
..
a31f789
100644
(file)
--- a/
src/wmesh-service-interface.c
+++ b/
src/wmesh-service-interface.c
@@
-667,6
+667,7
@@
static gboolean _wmeshd_dbus_handle_get_softap(NetWmesh *object,
WMESH_LOGE("Failed to wmesh_request_get_softap_config [%d]", ret);
net_wmesh_complete_get_softap(object, invocation, "", "", 0, 0, 0, 0,
"", ret);
+ return FALSE;
}
WMESH_LOGD("SSID : %s", ssid);