+14
−10
Loading
The setup process previously combined error handling and retry gating under one condition. As a result, the final failed attempt exited without performing cleanup. Update the failure path to always perform power and port cleanup on setup failure, and reopen the port only when retrying. Fixes: 9e80587a ("Bluetooth: hci_qca: Enhance retry logic in qca_setup") Signed-off-by:Jinwang Li <jinwang.li@oss.qualcomm.com> Reviewed-by:
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>