summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgrawal Ashish <ashishka@codeaurora.org>2016-05-05 17:15:16 +0530
committerAkash Patel <akashp@codeaurora.org>2016-05-09 11:28:52 -0700
commitb2a0b76c83623855856cd5b235a367809972fb4e (patch)
tree11b23cdc37abbefd107e1655b8e77f5c31686614
parentfb87b16193b5d7ab9a2dc05c2519e36a3a5de929 (diff)
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
-rw-r--r--core/mac/src/dph/dph_hash_table.c3
1 files changed, 2 insertions, 1 deletions
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]);
}