diff --git a/components/bt/controller/esp32/bt.c b/components/bt/controller/esp32/bt.c index 532d110580..ca923f4504 100644 --- a/components/bt/controller/esp32/bt.c +++ b/components/bt/controller/esp32/bt.c @@ -864,7 +864,11 @@ static void *malloc_internal_wrapper(size_t size) static int32_t IRAM_ATTR read_mac_wrapper(uint8_t mac[6]) { - return esp_read_mac(mac, ESP_MAC_BT); + int ret = esp_read_mac(mac, ESP_MAC_BT); + ESP_LOGI(BTDM_LOG_TAG, "Bluetooth MAC: %02x:%02x:%02x:%02x:%02x:%02x", + mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); + + return ret; } static void IRAM_ATTR srand_wrapper(unsigned int seed)