From: Gustavo Padovan <[email protected]>
If the ATD*99# dial fails for some reason, NO CARRIER, for example, we
need to disconnect the bluetooth link and do further clean up on
disconnect_callback().
---
dundee/device.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dundee/device.c b/dundee/device.c
index 709919a..5126071 100644
--- a/dundee/device.c
+++ b/dundee/device.c
@@ -357,6 +357,8 @@ err:
__ofono_dbus_pending_reply(&device->pending,
__dundee_error_failed(device->pending));
device->pending = NULL;
+
+ device->driver->disconnect(device, disconnect_callback, device);
}
static int device_dial_setup(struct dundee_device *device, int fd)
--
1.7.11.2
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono