]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Move clock offset reading into hci_disconnect()
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 18 Aug 2014 17:33:34 +0000 (20:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:55 +0000 (19:07 +0200)
commit839035a7b3acd17a6f739b1fb50298e9499d3fa4
tree44d3df18f391faee9becea55aea71d96cac4ea40
parente3f2f92a047cd2be3c87a2aaf0a8958e1fd4c17a
Bluetooth: Move clock offset reading into hci_disconnect()

To give all hci_disconnect() users the advantage of getting the clock
offset read automatically this patch moves the necessary code from
hci_conn_timeout() into hci_disconnect(). This way we pretty much always
update the clock offset when disconnecting.

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