From: Johan Hedberg Date: Fri, 28 Feb 2014 10:54:15 +0000 (+0200) Subject: Bluetooth: Fix updating connection state to BT_CONNECT too early X-Git-Tag: v3.15-rc1~113^2~159^2^2~37^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46e00308929cc0317a021a7ac050790f023b1ca;p=pandora-kernel.git Bluetooth: Fix updating connection state to BT_CONNECT too early We shouldn't update the hci_conn state to BT_CONNECT until the moment that we're ready to send the initiating HCI command for it. If the connection has the BT_CONNECT state too early the code responsible for updating the local random address may incorrectly think there's a pending connection in progress and refuse to update the address. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed