Skip to content
Commit 6e1031a4 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Marcel Holtmann
Browse files

Bluetooth: When encryption is dropped, do not send RFCOMM packets



During a role change with pre-Bluetooth 2.1 devices, the remote side drops
the encryption of the RFCOMM connection. We allow a grace period for the
encryption to be re-established, before dropping the connection. During
this grace period, the RFCOMM_SEC_PENDING flag is set. Check this flag
before sending RFCOMM packets.

Signed-off-by: default avatarJaikumar Ganesh <jaikumar@google.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 34a55eda
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