2014-05-27 11:52:47

by Jakub Tyszkowski

[permalink] [raw]
Subject: [PATCH] android/gatt: Fix not sending write request responses

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



2014-05-27 20:16:04

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/gatt: Fix not sending write request responses

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