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, 2 insertions(+), 1 deletions(-) diff --git a/client/session.c b/client/session.c index 160e015..eaabcf9 100644 --- a/client/session.c +++ b/client/session.c @@ -726,7 +726,8 @@ static void session_process_queue(struct obc_session *session) { struct pending_request *p; - if (session->queue == NULL || g_queue_is_empty(session->queue)) + if (session->queue == NULL || g_queue_is_empty(session->queue) || + session->p != NULL) return; obc_session_ref(session); -- 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