commit | 64352622841021f56032de307f123d7306256ccc | [log] [tgz] |
---|---|---|
author | Jonathan Rico <jonathan.rico@nordicsemi.no> | Wed Apr 24 13:33:18 2024 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Apr 26 19:21:46 2024 -0400 |
tree | 2826ae4350265c5f5cfc869f2b1677474ec18c41 | |
parent | fc5ae0c1652666f3aa9210cbbb4de3624dc20b4f [diff] |
Bluetooth: L2CAP: Handle REJECT_RSP for ECRED We can (and do) open multiple channels with a single L2CAP command. If the remote doesn't support dynamic channels at all, then it sends back a REJECT_RSP. We only destroyed the first channel that matched the command PDU identifier. Fix that and remove all channels that match. Also add a test that verifies the patch. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>