mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
The function enters infinite recursion if the HCI device doesn't support GPIO reset: btusb_reset -> hdev->reset -> vendor_reset -> btusb_reset... btusb_reset shouldn't call hdev->reset after commitf07d478090("Bluetooth: Get rid of cmd_timeout and use the reset callback") Fixes:f07d478090("Bluetooth: Get rid of cmd_timeout and use the reset callback") Signed-off-by: Hsin-chen Chuang <chharry@chromium.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>