diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-02-28 11:54:15 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-28 16:53:07 +0100 |
commit | b46e00308929cc0317a021a7ac050790f023b1ca (patch) | |
tree | eb6c44570ccff40611b0ffeb09bd3ef986030d24 /include | |
parent | Bluetooth: Add protections for updating local random address (diff) | |
download | linux-b46e00308929cc0317a021a7ac050790f023b1ca.tar.xz linux-b46e00308929cc0317a021a7ac050790f023b1ca.zip |
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 <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions