diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-09-03 12:49:04 +0530 |
---|---|---|
committer | Alok Barsode <alok.barsode@azingo.com> | 2008-09-03 12:49:04 +0530 |
commit | 26c84ba158a898984d8678f6493a7d3b00717198 (patch) | |
tree | b8875bd79495174f904f8c1a47c17b52bdc3f768 /src/dbus-hci.c | |
parent | c2193535f413360a45dbcdd017f13755367f2599 (diff) |
Adding adapter_remove_active_conn.
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r-- | src/dbus-hci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 79cb8d30..665cf621 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1193,8 +1193,7 @@ void hcid_dbus_disconn_complete(bdaddr_t *local, uint8_t status, adapter->bonding = NULL; } - adapter->active_conn = g_slist_remove(adapter->active_conn, dev); - g_free(dev); + adapter_remove_active_conn(adapter, dev); device = adapter_find_device(adapter, paddr); if (device) { |