commit | 58460f92734abf82391c44fa8fc7a1dcfe4ec657 | [log] [tgz] |
---|---|---|
author | Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl> | Tue May 18 14:46:14 2021 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Fri May 21 18:50:26 2021 +0300 |
tree | 21022df663d9dba0cc0f408f80f2e5f53b10e083 | |
parent | 6ce0f2ee6606915c75e17753e34db71cb053c119 [diff] |
Bluetooth: gatt: cancel all prepared writes on invalid write response On sending write request we should check write response. If data prepaired to be written by peer or offset are not equal to the data and offset we sent, we shall send Execute Write Request with Request Flag set to 0x00 (Cancel All Prepared Writes). This was affecting GATT/CL/GAW/BI-32-C and GATT/CL/GAW/BI-37-C Signed-off-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl>