dect
/
linux-2.6
Archived
13
0
Fork 0

Bluetooth: Use standard HCI cmd timeout for RESET

Remove magic and use standard HCI cmd timeout

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:
Andrei Emeltchenko 2012-06-11 11:13:06 +03:00 committed by Gustavo Padovan
parent cbe461c526
commit 975b91bb17
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}