diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-10-22 10:49:39 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-22 11:37:22 +0200 |
commit | 88d07feb097b60fcca20ba63d2920b0f05a05fa0 (patch) | |
tree | e215b60c6877d32fa359bad105f23308ff91072e /lib | |
parent | 89e0ccc882c47a4553698a580bec70cd90bc6319 (diff) | |
download | linux-88d07feb097b60fcca20ba63d2920b0f05a05fa0.tar.gz linux-88d07feb097b60fcca20ba63d2920b0f05a05fa0.tar.bz2 linux-88d07feb097b60fcca20ba63d2920b0f05a05fa0.zip |
Bluetooth: Make hci_disconnect() behave correctly for all states
There are a few places that don't explicitly check the connection
state before calling hci_disconnect(). To make this API do the right
thing take advantage of the new hci_abort_conn() API and also make
sure to only read the clock offset if we're really connected.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions