linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] android/gatt: Fix not sending write request responses
@ 2014-05-27 11:52 Jakub Tyszkowski
  2014-05-27 20:16 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Tyszkowski @ 2014-05-27 11:52 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

Responses were pushed to pending response queue but send was never
triggered.
---
 android/gatt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/gatt.c b/android/gatt.c
index b120834..485a238 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -5007,6 +5007,8 @@ static uint8_t write_req_request(const uint8_t *cmd, uint16_t cmd_len,
 		return ATT_ECODE_UNLIKELY;
 	}
 
+	process_dev_pending_requests(dev, cmd[0]);
+
 	return 0;
 }
 
-- 
1.9.3


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

* Re: [PATCH] android/gatt: Fix not sending write request responses
  2014-05-27 11:52 [PATCH] android/gatt: Fix not sending write request responses Jakub Tyszkowski
@ 2014-05-27 20:16 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-05-27 20:16 UTC (permalink / raw)
  To: Jakub Tyszkowski; +Cc: linux-bluetooth

Hi Jakub,

On Tuesday 27 of May 2014 13:52:47 Jakub Tyszkowski wrote:
> Responses were pushed to pending response queue but send was never
> triggered.
> ---
>  android/gatt.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/android/gatt.c b/android/gatt.c
> index b120834..485a238 100644
> --- a/android/gatt.c
> +++ b/android/gatt.c
> @@ -5007,6 +5007,8 @@ static uint8_t write_req_request(const uint8_t *cmd,
> uint16_t cmd_len, return ATT_ECODE_UNLIKELY;
>  	}
> 
> +	process_dev_pending_requests(dev, cmd[0]);
> +
>  	return 0;
>  }

Patch applied, thanks.

-- 
BR
Szymon Janc

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

end of thread, other threads:[~2014-05-27 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 11:52 [PATCH] android/gatt: Fix not sending write request responses Jakub Tyszkowski
2014-05-27 20:16 ` Szymon Janc

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