]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79da9b830d750d19d418e51536ca66b4ffbae28b
treefd6f43e7d52e9747de18add0558f3177ef8e1696
parentc689041bca66e933daff88512a555f743bdade65
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