commit | c89b6e6bda4c8021195778f47567d0cc9dbfe7ec | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Thu Jan 15 21:57:03 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 27 06:14:25 2009 +0100 |
tree | babe74bb0f318f26c572859e067a4c8d1d4d43a9 | |
parent | 71aeeaa1fd88fe7446391e0553336f0e0c2cfe6a [diff] |
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: Marcel Holtmann <marcel@holtmann.org>