linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd] client: fix not being able to read apparams when transfer is complete
@ 2012-01-18 11:37 Luiz Augusto von Dentz
  2012-01-18 12:27 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2012-01-18 11:37 UTC (permalink / raw)
  To: linux-bluetooth

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH obexd] client: fix not being able to read apparams when transfer is complete
  2012-01-18 11:37 [PATCH obexd] client: fix not being able to read apparams when transfer is complete Luiz Augusto von Dentz
@ 2012-01-18 12:27 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-01-18 12:27 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hi Luiz,

On Wed, Jan 18, 2012, Luiz Augusto von Dentz wrote:
> 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(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-18 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 11:37 [PATCH obexd] client: fix not being able to read apparams when transfer is complete Luiz Augusto von Dentz
2012-01-18 12:27 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).