Bluetooth: controller: hci: Indent BT_INFO of extended header

Indent when logging out the field value of common extended
advertising header format.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-04-08 16:14:00 +05:30 committed by Carles Cufí
commit 608063b3ec

View file

@ -3000,7 +3000,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
h = (void *)p->ext_hdr_adi_adv_data; h = (void *)p->ext_hdr_adi_adv_data;
ptr = (uint8_t *)h + sizeof(*h); ptr = (uint8_t *)h + sizeof(*h);
BT_INFO("Ext. adv mode= 0x%x, hdr len= %u", p->adv_mode, BT_INFO(" Ext. adv mode= 0x%x, hdr len= %u", p->adv_mode,
p->ext_hdr_len); p->ext_hdr_len);
if (!p->ext_hdr_len) { if (!p->ext_hdr_len) {
@ -3014,7 +3014,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
memcpy(&addr.a.val[0], ptr, sizeof(bt_addr_t)); memcpy(&addr.a.val[0], ptr, sizeof(bt_addr_t));
ptr += BDADDR_SIZE; ptr += BDADDR_SIZE;
BT_INFO("AdvA: %s", bt_addr_le_str(&addr)); BT_INFO(" AdvA: %s", bt_addr_le_str(&addr));
} }
if (h->tgt_addr) { if (h->tgt_addr) {
@ -3024,7 +3024,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
memcpy(&addr.a.val[0], ptr, sizeof(bt_addr_t)); memcpy(&addr.a.val[0], ptr, sizeof(bt_addr_t));
ptr += BDADDR_SIZE; ptr += BDADDR_SIZE;
BT_INFO("TgtA: %s", bt_addr_le_str(&addr)); BT_INFO(" TgtA: %s", bt_addr_le_str(&addr));
} }
if (h->adi) { if (h->adi) {
@ -3033,7 +3033,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
adi = (void *)ptr; adi = (void *)ptr;
ptr += sizeof(*adi); ptr += sizeof(*adi);
BT_INFO("AdvDataInfo DID = 0x%x, SID = 0x%x", BT_INFO(" AdvDataInfo DID = 0x%x, SID = 0x%x",
adi->did, adi->sid); adi->did, adi->sid);
} }
@ -3043,8 +3043,8 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
aux = (void *)ptr; aux = (void *)ptr;
ptr += sizeof(*aux); ptr += sizeof(*aux);
BT_INFO("AuxPtr chan_idx = %u, ca = %u, offs_units = %u" BT_INFO(" AuxPtr chan_idx = %u, ca = %u, offs_units "
" offs = 0x%x, phy = 0x%x", aux->chan_idx, "= %u offs = 0x%x, phy = 0x%x", aux->chan_idx,
aux->ca, aux->offs_units, aux->offs, aux->phy); aux->ca, aux->offs_units, aux->offs, aux->phy);
} }
@ -3054,7 +3054,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data,
tx_pwr = *(int8_t *)ptr; tx_pwr = *(int8_t *)ptr;
ptr++; ptr++;
BT_INFO("Tx pwr= %d dB", tx_pwr); BT_INFO(" Tx pwr= %d dB", tx_pwr);
} }
/* TODO: length check? */ /* TODO: length check? */