Diff between 9c62de94e5044038bcaae6cd6c0ec783fbee607a and 928fba8492bbc39d0c140558c865a1d2d4240740

Changed Files

File Additions Deletions Status
profiles/network/connection.c +2 -0 modified

Full Patch

diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 2403446..5d3b230 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -419,6 +419,8 @@ int connection_connect(struct btd_device *device, uint16_t id,
 
 	nc->state = CONNECTING;
 	nc->owner = g_strdup(owner);
+	nc->cb = cb;
+	nc->cb_data = data;
 
 	if (owner)
 		nc->watch = g_dbus_add_disconnect_watch(