projects
/
platform
/
core
/
api
/
wifi-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b602d
)
Checking for client connection before doing dbus connection close
43/161143/1
author
taesub kim
<taesub.kim@samsung.com>
Thu, 19 Oct 2017 22:29:33 +0000
(07:29 +0900)
committer
taesub kim
<taesub.kim@samsung.com>
Wed, 22 Nov 2017 01:47:53 +0000
(10:47 +0900)
Change-Id: Ic48eb9e794e4f9db3d9f57dd2a054cbaca243cb4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
src/network_internal.c
patch
|
blob
|
history
diff --git
a/src/network_internal.c
b/src/network_internal.c
index f0e7bbe615921388ed372e5a0e091499f5db097d..b44898f609bf47005388268c3b523b73fec2b233 100755
(executable)
--- a/
src/network_internal.c
+++ b/
src/network_internal.c
@@
-566,7
+566,8
@@
void _net_dbus_pending_call_unref(void)
gdbus_conn.handle_libnetwork != NULL) {
WIFI_LOG(WIFI_ERROR, "A handle of libnetwork is not NULL");
- gdbus_conn.connection = NULL;
+ if (NetworkInfo.ref_count < 1)
+ gdbus_conn.connection = NULL;
}
}