Skip to content
Commit e8c3c3d2 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

[Bluetooth] Fix wrong URB handling of btusb driver



The btusb driver contains two typos that result in some buggy behavior,
but the impact is not immediately visible.

During initialization the submitting of interrupt URBs might fail and
then make sure to remove the correct flag and not one of the hci_dev
flags.

When closing down the interface make sure to kill the anchor for the
ISOC URBs and not kill the interrupt URBs twice.

Also cancel any scheduled work when closing down the interface.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent bdbef3d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment