Bluetooth: Change RFCOMM to use BT_CONNECT2 for BT_DEFER_SETUP
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Feb 2009 01:59:49 +0000 (02:59 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:47 +0000 (06:14 +0100)
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: Marcel Holtmann <marcel@holtmann.org>

No differences found