From 608063b3ec65dbffcf30bc7e3e7c2de702bc6b2e Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Wed, 8 Apr 2020 16:14:00 +0530 Subject: [PATCH] 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 --- subsys/bluetooth/controller/hci/hci.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 020d6aa21d5..47ca492bc40 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -3000,7 +3000,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data, h = (void *)p->ext_hdr_adi_adv_data; 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); 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)); 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) { @@ -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)); ptr += BDADDR_SIZE; - BT_INFO("TgtA: %s", bt_addr_le_str(&addr)); + BT_INFO(" TgtA: %s", bt_addr_le_str(&addr)); } if (h->adi) { @@ -3033,7 +3033,7 @@ static void le_adv_ext_report(struct pdu_data *pdu_data, adi = (void *)ptr; 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); } @@ -3043,8 +3043,8 @@ static void le_adv_ext_report(struct pdu_data *pdu_data, aux = (void *)ptr; ptr += sizeof(*aux); - BT_INFO("AuxPtr chan_idx = %u, ca = %u, offs_units = %u" - " offs = 0x%x, phy = 0x%x", aux->chan_idx, + BT_INFO(" AuxPtr chan_idx = %u, ca = %u, offs_units " + "= %u offs = 0x%x, phy = 0x%x", aux->chan_idx, 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; ptr++; - BT_INFO("Tx pwr= %d dB", tx_pwr); + BT_INFO(" Tx pwr= %d dB", tx_pwr); } /* TODO: length check? */