commit | 384e31977f594522330651436c71f95391d3674f | [log] [tgz] |
---|---|---|
author | Lyle Zhu <lyle.zhu@nxp.com> | Wed Mar 26 17:58:19 2025 +0800 |
committer | Benjamin Cabé <kartben@gmail.com> | Tue Apr 01 22:14:15 2025 +0200 |
tree | 4d4a0e29dbb12e47f7e4f3dd77b7d6a8541d31fc | |
parent | a3b8954ae9a7c8bb56c844581007fb84d42a913f [diff] |
Bluetooth: Classic: L2CAP: Discard the response with a invalid `ident` In current implementation, the `ident` of the command response is not checked whether it is same as the `ident` sent by the L2CAP command. Keep the `ident` of the command. If the received `ident` of the command response is not aligned with the `ident` of the command, discard the response silently. Or, clear the saved `ident`. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>