handle extended reset

pull/10666/head
paul-szczepanek-arm 2019-03-12 16:43:27 +00:00 committed by Martin Kojtal
parent 96040be349
commit 5025022ab8
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
case HCI_OPCODE_READ_LOCAL_VER_INFO: case HCI_OPCODE_READ_LOCAL_VER_INFO:
if (hciCoreCb.extResetSeq) { if (hciCoreCb.extResetSeq) {
/* send first extended command */ /* send first extended command */
(*hciCoreCb.extResetSeq)(pMsg, opcode); HciReadLocalVerInfoCmd();
} else { } else {
/* initialize extended parameters */ /* initialize extended parameters */
hciCoreCb.maxAdvDataLen = 0; hciCoreCb.maxAdvDataLen = 0;
@ -242,6 +242,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
} }
break; break;
case HCI_OPCODE_READ_LOCAL_VER_INFO:
case HCI_OPCODE_LE_READ_MAX_ADV_DATA_LEN: case HCI_OPCODE_LE_READ_MAX_ADV_DATA_LEN:
case HCI_OPCODE_LE_READ_NUM_SUP_ADV_SETS: case HCI_OPCODE_LE_READ_NUM_SUP_ADV_SETS:
case HCI_OPCODE_LE_READ_PER_ADV_LIST_SIZE: case HCI_OPCODE_LE_READ_PER_ADV_LIST_SIZE: