From: Marcel Holtmann Date: Thu, 15 Jan 2009 20:57:03 +0000 (+0100) Subject: Bluetooth: Fix SCO state handling for incoming connections X-Git-Tag: v2.6.30-rc1~662^2~538^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c89b6e6bda4c8021195778f47567d0cc9dbfe7ec;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed