Skip to content

Commit

Permalink
deepin: drivers: bluetooth: btusb: fix btmtk timeout after queue rese…
Browse files Browse the repository at this point in the history
…t device

Signed-off-by: Wentao Guan <[email protected]>
  • Loading branch information
opsiff authored Dec 19, 2024
1 parent 8ead783 commit 2ffdc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2713,7 +2713,7 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data)

err = btmtk_usb_subsys_reset(hdev, btmtk_data->dev_id);

usb_queue_reset_device(data->intf);
usb_autopm_put_interface(data->intf);
clear_bit(BTMTK_HW_RESET_ACTIVE, &btmtk_data->flags);

return err;
Expand Down

0 comments on commit 2ffdc33

Please sign in to comment.