Loading
Bluetooth: btmtk: fix urb->setup_packet leak in error paths
The setup_packet of control urb is not freed if usb_submit_urb fails or the submitted urb is killed. Add free in these two paths. Fixes: a1c49c43 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices") Signed-off-by:Jiajia Liu <liujiajia@kylinos.cn> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>