From: Johan Hedberg Date: Tue, 28 Oct 2014 21:23:26 +0000 (+0100) Subject: Bluetooth: Fix LE connection timeout deadlock X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~3^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980ffc0a2cec2c37589cc97993e1ad17252f4f47;p=pandora-kernel.git Bluetooth: Fix LE connection timeout deadlock The le_conn_timeout() may call hci_le_conn_failed() which in turn may call hci_conn_del(). Trying to use the _sync variant for cancelling the conn timeout from hci_conn_del() could therefore result in a deadlock. This patch converts hci_conn_del() to use the non-sync variant so the deadlock is not possible. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org # 3.16.x --- Reading git-diff-tree failed