From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> session_process_queue should make sure there is no active operation, to avoid starting a second one at the same time. --- client/session.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/client/session.c b/client/session.c index e113d1f..7f387d4 100644 --- a/client/session.c +++ b/client/session.c @@ -732,6 +732,9 @@ static void session_process_queue(struct obc_session *session) { struct pending_request *p; + if (session->p != NULL) + return; + if (session->queue == NULL || g_queue_is_empty(session->queue)) return; -- 1.7.6.5 -- 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