提交 975b91bb 编写于 作者: A Andrei Emeltchenko 提交者: Gustavo Padovan

Bluetooth: Use standard HCI cmd timeout for RESET

Remove magic and use standard HCI cmd timeout
Signed-off-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: NMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
上级 cbe461c5
......@@ -783,7 +783,7 @@ static int hci_dev_do_close(struct hci_dev *hdev)
test_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks)) {
set_bit(HCI_INIT, &hdev->flags);
__hci_request(hdev, hci_reset_req, 0,
msecs_to_jiffies(250));
msecs_to_jiffies(HCI_CMD_TIMEOUT));
clear_bit(HCI_INIT, &hdev->flags);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册