--- src/obex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/obex.c b/src/obex.c index e6585ca..064fe4b 100644 --- a/src/obex.c +++ b/src/obex.c @@ -693,7 +693,7 @@ static gboolean handle_async_io(void *object, int flags, int err, proceed: if (ret < 0) { - os_set_response(os->obj, err); + os_set_response(os->obj, ret); OBEX_CancelRequest(os->obex, TRUE); } else OBEX_ResumeRequest(os->obex); -- 1.7.4.1 -- 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