Skip to content

Commit 877c70d

Browse files
committed
Cordio BLE: Fix sign in length check
1 parent 0c2414e commit 877c70d

File tree

1 file changed

+1
-1
lines changed
  • connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip

1 file changed

+1
-1
lines changed

connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip/hci_evt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ void hciEvtProcessCmdCmpl(uint8_t *p, uint8_t len)
24712471
uint8_t cbackEvt = 0;
24722472
hciEvtCback_t cback = hciCb.evtCback;
24732473

2474-
if (len > 3)
2474+
if (len < 3)
24752475
{
24762476
return;
24772477
}

0 commit comments

Comments
 (0)