test/le_audio: remove buggy local name debug output

This commit is contained in:
Matthias Ringwald 2022-08-23 16:34:21 +02:00
parent 01d4f05fe7
commit efda67ebc9

View File

@ -144,12 +144,6 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
break;
case HCI_EVENT_COMMAND_COMPLETE:
switch (hci_event_command_complete_get_command_opcode(packet)){
case HCI_OPCODE_HCI_READ_BD_ADDR:
if (hci_event_command_complete_get_return_parameters(packet)[0]) break;
// terminate, name 248 chars
packet[6+248] = 0;
printf("Local name: %s\n", &packet[6]);
break;
case HCI_OPCODE_HCI_READ_LOCAL_VERSION_INFORMATION:
local_version_information_handler(packet);
break;