projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add connection destroy logic
[platform/core/connectivity/bluetooth-agent.git]
/
ipsp-agent
/
bluetooth-ipsp-agent.c
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("");