From cb74e05c97f0a5c669d60a7529684c25bda21045 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 18 Jan 2012 13:37:37 +0200 Subject: [PATCH] obexd: fix not being able to read apparams when transfer is complete Transfer id/xfer is set to zero when it is completed which should not prevent the profiles to read the apparam of the last response. --- obexd/client/transfer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c index c48137831..2532294d8 100644 --- a/obexd/client/transfer.c +++ b/obexd/client/transfer.c @@ -614,9 +614,6 @@ done: int obc_transfer_get_params(struct obc_transfer *transfer, struct obc_transfer_params *params) { - if (transfer->xfer == 0) - return -ENOTCONN; - params->data = transfer->params->data; params->size = transfer->params->size; -- 2.47.3