projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12a6a81
)
Add connection destroy logic
35/229835/1
author
Wootak Jung
<wootak.jung@samsung.com>
Mon, 6 Apr 2020 02:11:00 +0000
(11:11 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Mon, 6 Apr 2020 02:11:15 +0000
(11:11 +0900)
Change-Id: I17dab51a7d074ef64bd22e31450afb7b31d13c52
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
ipsp-agent/bluetooth-ipsp-agent.c
patch
|
blob
|
history
diff --git
a/ipsp-agent/bluetooth-ipsp-agent.c
b/ipsp-agent/bluetooth-ipsp-agent.c
index
cd6f471
..
32a41db
100644
(file)
--- a/
ipsp-agent/bluetooth-ipsp-agent.c
+++ b/
ipsp-agent/bluetooth-ipsp-agent.c
@@
-709,6
+709,10
@@
static void __bt_ipsp_dbus_method(GDBusConnection *connection,
__bt_ipsp_execute_dhcp6_server();
+ if (net_connection) {
+ connection_destroy(net_connection);
+ net_connection = NULL;
+ }
} else if (g_strcmp0(method_name, "SetIpv6Addr") == 0) {
int ret;
BT_DBG("");