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

Bluetooth: Fix SCO state handling for incoming connections



When the remote device supports only SCO connections, on receipt of
the HCI_EV_CONN_COMPLETE event packet, the connect state is changed to
BT_CONNECTED, but the socket state is not updated. Hence, the connect()
call times out even though the SCO connection has been successfully
established.

Based on a report by Jaikumar Ganesh <jaikumar@google.com>

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 71aeeaa1
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