We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda8a9d commit 0b89230Copy full SHA for 0b89230
connectivity/FEATURE_BLE/source/cordio/stack_adaptation/hci_tr.c
@@ -239,7 +239,15 @@ void hciTrSerialRxIncoming(uint8_t *pBuf, uint8_t len)
239
}
240
else
241
{
242
+ /**
243
+ * As above, simply employing WSF_ASSERT is not reasonable.
244
+ * Instead, it is advisable to discard this data packet,
245
+ * exit the packet processing function,
246
+ * and adjust the stateRx back to HCI_RX_STATE_IDLE.
247
+ */
248
+ stateRx = HCI_RX_STATE_IDLE;
249
WSF_ASSERT(0); /* allocate falied */
250
+ return;
251
252
253
0 commit comments