--- mcap/mcap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mcap/mcap.c b/mcap/mcap.c index 788b565..e9d5d36 100644 --- a/mcap/mcap.c +++ b/mcap/mcap.c @@ -1823,6 +1823,7 @@ static void confirm_dc_event_cb(GIOChannel *chan, gpointer user_data) if (!bt_io_accept(chan, connect_dc_event_cb, mdl, NULL, &err)) { error("MDL accept error %s", err->message); + mdl->state = MDL_CLOSED; g_error_free(err); goto drop; } -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html