summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 00:18:33 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 00:18:33 +0200
commitb46b7234c3dbee8431dbe45b6d5045b2bc8480df (patch)
tree0bbd8a7da740385b8b28fb36cb5dd6708d0acffc /src/device.c
parent792547bb294aaf5272d875a5f81341ba0f5ece8f (diff)
Don't try to remove bonding->io_id twice (bonding_request_free does it)
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index 68008ead..dcd1b854 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1892,9 +1892,6 @@ void device_cancel_bonding(struct btd_device *device, uint8_t status)
reply = new_authentication_return(bonding->msg, status);
g_dbus_send_message(bonding->conn, reply);
- if (device->bonding->io_id)
- g_source_remove(device->bonding->io_id);
-
bonding_request_free(bonding);
}