Bluetooth: Send HCI_Read_Clock_Offset before disconnecting
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Jun 2014 12:32:16 +0000 (14:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:48 +0000 (17:42 +0200)
commitdf935429be40b02568d4bcf9ebfacf8011b85a85
treefd6f43e7d52e9747de18add0558f3177ef8e1696
parent40051e4686d6fa8743a38933727604f75bef05cf
Bluetooth: Send HCI_Read_Clock_Offset before disconnecting

When the connection is in master role and it is going to be
disconnected based on the disconnection timeout, then send
the HCI_Read_Clock_Offset command in an attempt to update the
clock offset value in the inquiry cache.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h
net/bluetooth/hci_conn.c