Skip to content

Commit 5025022

Browse files
paul-szczepanek-arm0xc0170
authored andcommitted
handle extended reset
1 parent 96040be commit 5025022

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
230230
case HCI_OPCODE_READ_LOCAL_VER_INFO:
231231
if (hciCoreCb.extResetSeq) {
232232
/* send first extended command */
233-
(*hciCoreCb.extResetSeq)(pMsg, opcode);
233+
HciReadLocalVerInfoCmd();
234234
} else {
235235
/* initialize extended parameters */
236236
hciCoreCb.maxAdvDataLen = 0;
@@ -242,6 +242,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
242242
}
243243
break;
244244

245+
case HCI_OPCODE_READ_LOCAL_VER_INFO:
245246
case HCI_OPCODE_LE_READ_MAX_ADV_DATA_LEN:
246247
case HCI_OPCODE_LE_READ_NUM_SUP_ADV_SETS:
247248
case HCI_OPCODE_LE_READ_PER_ADV_LIST_SIZE:

0 commit comments

Comments
 (0)