Skip to content
Commit 6a8d3010 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Fix double L2CAP connection request



If the remote L2CAP server uses authentication pending stage and
encryption is enabled it can happen that a L2CAP connection request is
sent twice due to a race condition in the connection state machine.

When the remote side indicates any kind of connection pending, then
track this state and skip sending of L2CAP commands for this period.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 984947dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment