From: Andre Guedes Date: Wed, 30 Jan 2013 14:50:55 +0000 (-0300) Subject: Bluetooth: Fix hci_conn timeout routine X-Git-Tag: v3.8-rc7~2^2~11^2^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c02e2d444595200d0b18b889994aac3611cd288;p=pandora-kernel.git Bluetooth: Fix hci_conn timeout routine If occurs a LE or SCO hci_conn timeout and the connection is already established (BT_CONNECTED state), the connection is not terminated as expected. This bug can be reproduced using l2test or scotest tool. Once the connection is established, kill l2test/scotest and the connection won't be terminated. This patch fixes hci_conn_disconnect helper so it is able to terminate LE and SCO connections, as well as ACL. Signed-off-by: Andre Guedes Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed