Message ID | 20210119124258.2.I52cc5d2b62fdeb5f3c5249d41f3631ae25d8dc71@changeid |
---|---|
State | New |
Headers | show |
Series | Bluetooth: btusb: Expose hw reset to debugfs | expand |
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 03341e6cbf3ed..880e9cd4ee713 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -578,7 +578,7 @@ static void btusb_gpio_cmd_timeout(struct hci_dev *hdev) { struct btusb_data *data = hci_get_drvdata(hdev); - if (++data->cmd_timeout_cnt < 5) + if (++data->cmd_timeout_cnt < 3) return; if (!data->reset_gpio) {