Bluetooth: Allow driver specific cmd timeout handling
authorRajat Jain <rajatja@google.com>
Thu, 24 Jan 2019 23:28:13 +0000 (15:28 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 25 Jan 2019 07:46:32 +0000 (08:46 +0100)
commite2bef3847e3d0d57dcf316de50c4b1a5a91816b7
tree8eddb66db738fac8ad032bb9785de06256beaec5
parentb4dfbbd1803d81b51bf2c47b182a7029b476d8e2
Bluetooth: Allow driver specific cmd timeout handling

Add a hook to allow the BT driver to do device or command specific
handling in case of timeouts. This is to be used by Intel driver to
reset the device after certain number of timeouts.

Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c