summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-hci.c')
-rw-r--r--hcid/dbus-hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index 3af3f046..61d64c19 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -83,7 +83,7 @@ void bonding_request_free(struct bonding_request_info *bonding)
if (device && agent) {
agent_destroy(agent, FALSE);
- device->agent = NULL;
+ device_set_agent(device, NULL);
}
g_free(bonding);