From b46b7234c3dbee8431dbe45b6d5045b2bc8480df Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 Jan 2009 00:18:33 +0200 Subject: Don't try to remove bonding->io_id twice (bonding_request_free does it) --- src/device.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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); } -- cgit