hci: correct len of hci_write_extended_inquiry_response during init

This commit is contained in:
Matthias Ringwald 2017-08-17 14:43:15 +02:00
parent 41b3c0f43e
commit c439e29667

View File

@ -1301,7 +1301,7 @@ static void hci_initializing_run(void){
}
// expand '00:00:00:00:00:00' in name with bd_addr
hci_replace_bd_addr_placeholder(&packet[4], 240);
hci_send_cmd_packet(packet, HCI_CMD_HEADER_SIZE + DEVICE_NAME_LEN);
hci_send_cmd_packet(packet, HCI_CMD_HEADER_SIZE + 1 + 240);
break;
}
case HCI_INIT_WRITE_INQUIRY_MODE: