From b2a0b76c83623855856cd5b235a367809972fb4e Mon Sep 17 00:00:00 2001 From: Agrawal Ashish Date: Thu, 5 May 2016 17:15:16 +0530 Subject: qcacld-3.0: Print mac address in Hex qcacld-2.0 to qcacld-3.0 propagation dphPrintMacAddr is printing mac address in decimal. Print mac address in Hex format for readability. Change-Id: I7a68d4d94745cee2274970196642d5041f09d184 CRs-Fixed: 940324 --- core/mac/src/dph/dph_hash_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mac/src/dph/dph_hash_table.c b/core/mac/src/dph/dph_hash_table.c index 0e592d18a774..af64bd5899a8 100644 --- a/core/mac/src/dph/dph_hash_table.c +++ b/core/mac/src/dph/dph_hash_table.c @@ -450,7 +450,8 @@ tSirRetStatus dph_delete_hash_entry(tpAniSirGlobal pMac, tSirMacAddr staAddr, void dph_print_mac_addr(tpAniSirGlobal pMac, uint8_t addr[], uint32_t level) { - lim_log(pMac, (uint16_t) level, FL("MAC ADDR = %d:%d:%d:%d:%d:%d"), + lim_log(pMac, (uint16_t) level, + FL("MAC ADDR = %02x:%02x:%02x:%02x:%02x:%02x"), addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]); } -- cgit v1.2.3