Skip to content
Snippets Groups Projects
Commit 8bf47941 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Change RFCOMM to use BT_CONNECT2 for BT_DEFER_SETUP


When BT_DEFER_SETUP is enabled on a RFCOMM socket, then switch its
current state from BT_OPEN to BT_CONNECT2. This gives the Bluetooth
core a unified way to handle L2CAP and RFCOMM sockets. The BT_CONNECT2
state is designated for incoming connections.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent d5f2d2be
No related merge requests found
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