|
@@ -2350,7 +2350,8 @@ static inline void hci_sched_acl(struct hci_dev *hdev)
|
|
if (!test_bit(HCI_RAW, &hdev->flags)) {
|
|
if (!test_bit(HCI_RAW, &hdev->flags)) {
|
|
/* ACL tx timeout must be longer than maximum
|
|
/* ACL tx timeout must be longer than maximum
|
|
* link supervision timeout (40.9 seconds) */
|
|
* link supervision timeout (40.9 seconds) */
|
|
- if (!hdev->acl_cnt && time_after(jiffies, hdev->acl_last_tx + HZ * 45))
|
|
|
|
|
|
+ if (!hdev->acl_cnt && time_after(jiffies, hdev->acl_last_tx +
|
|
|
|
+ msecs_to_jiffies(HCI_ACL_TX_TIMEOUT)))
|
|
hci_link_tx_to(hdev, ACL_LINK);
|
|
hci_link_tx_to(hdev, ACL_LINK);
|
|
}
|
|
}
|
|
|
|
|