Hi Christian, On Tue, May 28, 2013 at 5:37 AM, Christian Fetzer <christian.fetzer@xxxxxxxxxxxxxxxx> wrote: > 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 Pushed, note that I did some modifications so that the destroy is the last parameter of pending_request_new, this is usual practice for destroy callbacks. Thanks for your contribution. -- Luiz Augusto von Dentz -- 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