From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx> - v2: Split patches, remove void *process_data from pending_request, adapt names as requested --- So far only transfers are queued in OBEX sessions. Commands like setpath are not queued and the commands will simply fail when a different operation or transfer is ongoing. This patch set removes this limitation and queues commands as well. Currently, the MAP client is directly affected by this limitation. An immediate call to SetPath after the MAP connection has been established reliably fails, because MNS is being connected in the background in parallel. Christian Fetzer (9): obexd: Add process callback to session's pending_request obexd: Add session_queue_add obexd: Use process callback to queue transfers obexd: Queue setpath command obexd: Add file_data struct to session obexd: Queue mkdir command obexd: Queue copy command obexd: Queue move command obexd: Queue delete command obexd/client/session.c | 296 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 201 insertions(+), 95 deletions(-) -- 1.8.2.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