Skip to content

Commit

Permalink
Bluetooth: Use standard HCI cmd timeout for RESET
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Jun 12, 2012
1 parent cbe461c commit 975b91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 975b91b

Please sign in to comment.