]> 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)
commitaf08e445434a46acf193a4892e1b202bbb5ecd1a
treefd6f43e7d52e9747de18add0558f3177ef8e1696
parente4ddaf22a9eaae4ba318fccc49df71becd1bf21b
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