summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_sock.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-27 01:44:42 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-28 01:50:40 +0300
commit116523c8fac05d1d26f748fee7919a4ec5df67ea (patch)
tree888d6c49a88fa4895beba1cf38d36e6ec53463db /net/bluetooth/hci_sock.c
parented680f925aea76ac666f34d9923cb40558f4e97b (diff)
downloadlinux-116523c8fac05d1d26f748fee7919a4ec5df67ea.tar.xz
Bluetooth: hci_core: Fix not handling link timeouts propertly
Change that introduced the use of __check_timeout did not account for link types properly, it always assumes ACL_LINK is used thus causing hdev->acl_last_tx to be used even in case of LE_LINK and then again uses ACL_LINK with hci_link_tx_to. To fix this __check_timeout now takes the link type as parameter and then procedure to use the right last_tx based on the link type and pass it to hci_link_tx_to. Fixes: 1b1d29e51499 ("Bluetooth: Make use of __check_timeout on hci_sched_le") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Tested-by: David Beinder <david@beinder.at>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
0 files changed, 0 insertions, 0 deletions