BLE:Fix cordio reset sequence

pull/10093/head
Desmond Chen 2019-03-14 15:41:10 +08:00
parent fe59870965
commit a70f0e6780
1 changed files with 5 additions and 0 deletions

View File

@ -223,6 +223,11 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
} break;
case HCI_OPCODE_LE_WRITE_DEF_DATA_LEN:
/* send next command in sequence */
HciReadLocalVerInfoCmd();
break;
case HCI_OPCODE_READ_LOCAL_VER_INFO:
if (hciCoreCb.extResetSeq) {
/* send first extended command */
(*hciCoreCb.extResetSeq)(pMsg, opcode);