commit | 0d36361b5d80eb64901cae4b4ecddb897d9ef668 | [log] [tgz] |
---|---|---|
author | Lyle Zhu <lyle.zhu@nxp.com> | Fri Feb 28 10:57:56 2025 +0800 |
committer | Benjamin Cabé <kartben@gmail.com> | Mon Mar 10 08:58:38 2025 +0100 |
tree | caf0bdcf01c15de644b4d281d7f2fee3900c9676 | |
parent | ab7a6de5bbb2a63e30390594363c4c3ec301b042 [diff] |
Bluetooth: SDP: Check data len consistency between total and received Add fields `total_len` and `recv_len` to `struct bt_sdp_client`. Save the total length of the response to `total_len`. Save the received data length of the response to the `recv_len`. Check the consistency between `total_len` and `recv_len` after all of the response packets are received. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>