From 30cf04109b3376d391848a64122bd370c68b998e Mon Sep 17 00:00:00 2001 From: fabik111 Date: Tue, 29 Oct 2024 15:20:53 +0100 Subject: [PATCH] remove loop for error handling --- .../drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp index ff389c9f815..6a2d51eca51 100644 --- a/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp +++ b/connectivity/drivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/HCIDriver.cpp @@ -408,7 +408,7 @@ class HCIDriver : public CordioHCIDriver { if (cmd_opcode != opcode) { // DO something in case of error - while (true); + return; }