--- drivers/mbimmodem/mbim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mbimmodem/mbim.c b/drivers/mbimmodem/mbim.c index 9fcf44b..f4132d0 100644 --- a/drivers/mbimmodem/mbim.c +++ b/drivers/mbimmodem/mbim.c @@ -781,6 +781,9 @@ static bool open_read_handler(struct l_io *io, void *user_data) /* Grab OPEN_DONE Status field */ if (l_get_le32(buf) != 0) { close(fd); + if (device->disconnect_handler) + device->disconnect_handler(device->ready_data); + device->is_ready = false; return false; } -- 1.9.1
_______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono