Skip to content

Commit cad44c2

Browse files
author
Gustavo F. Padovan
committed
Revert "Bluetooth: Increase HCI reset timeout in hci_dev_do_close"
This reverts commit e1b6eb3. This was causing a delay of 10 seconds in the resume process of a Thinkpad laptop. I'm afraid this could affect more devices once 3.2 is released. Reported-by: Tomáš Janoušek <tomi@nomi.cz> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
1 parent d766091 commit cad44c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/bluetooth/hci_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ static int hci_dev_do_close(struct hci_dev *hdev)
613613
if (!test_bit(HCI_RAW, &hdev->flags)) {
614614
set_bit(HCI_INIT, &hdev->flags);
615615
__hci_request(hdev, hci_reset_req, 0,
616-
msecs_to_jiffies(HCI_INIT_TIMEOUT));
616+
msecs_to_jiffies(250));
617617
clear_bit(HCI_INIT, &hdev->flags);
618618
}
619619

0 commit comments

Comments
 (0)