Bluetooth: Fix SCO state handling for incoming connections
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 15 Jan 2009 20:57:03 +0000 (21:57 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:25 +0000 (06:14 +0100)
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: Marcel Holtmann <marcel@holtmann.org>

No differences found