This fixes regression on suspend on opening when obex_write_stream returns length of buffer, which is treated as error response afterwards. --- src/obex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/obex.c b/src/obex.c index d1ac339..4e1db9c 100644 --- a/src/obex.c +++ b/src/obex.c @@ -683,7 +683,7 @@ add_header: os->offset += len; - return len; + return 0; } static gboolean handle_async_io(void *object, int flags, int err, -- 1.7.0.4 -- 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