[PATCH obexd] client: fix not being able to read apparams when transfer is complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

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.
---
 client/transfer.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/client/transfer.c b/client/transfer.c
index c481378..2532294 100644
--- a/client/transfer.c
+++ b/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;
 
-- 
1.7.7.5

--
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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux