Bluetooth: Audio: Shell: Remove name from bap_broadcast_assistant_scan_cb
The callback does not have the advertising data, so the name would always just be empty. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
1ef2ce40d6
commit
8a3aa4c289
1 changed files with 1 additions and 4 deletions
|
@ -79,14 +79,11 @@ static void bap_broadcast_assistant_scan_cb(const struct bt_le_scan_recv_info *i
|
|||
uint32_t broadcast_id)
|
||||
{
|
||||
char le_addr[BT_ADDR_LE_STR_LEN];
|
||||
char name[30];
|
||||
|
||||
(void)memset(name, 0, sizeof(name));
|
||||
|
||||
bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr));
|
||||
shell_print(ctx_shell, "[DEVICE]: %s (%s), broadcast_id 0x%06X, "
|
||||
"interval (ms) %u), SID 0x%x, RSSI %i",
|
||||
le_addr, name, broadcast_id, info->interval * 5 / 4,
|
||||
le_addr, broadcast_id, info->interval * 5 / 4,
|
||||
info->sid, info->rssi);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue