summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgrawal Ashish <ashishka@qti.qualcomm.com>2016-01-11 22:56:40 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-29 15:08:57 +0530
commit083fa571a0857422764b28bbd1cf605b10652557 (patch)
tree631da057b5b37ba9a3ea51e010a145a1a2692890
parent7ad740d5d71953ea63aa6dfe118cce2ed0d21866 (diff)
qcacld-2.0: Print mac address in Hex
prima to qcacld-2.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/dphHashTable.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/MAC/src/dph/dphHashTable.c b/CORE/MAC/src/dph/dphHashTable.c
index 5df7f6f11066..ed2c6e06423c 100644
--- a/CORE/MAC/src/dph/dphHashTable.c
+++ b/CORE/MAC/src/dph/dphHashTable.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2014, 2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -464,7 +464,8 @@ tSirRetStatus dphDeleteHashEntry(tpAniSirGlobal pMac, tSirMacAddr staAddr, tANI_
void
dphPrintMacAddr(tpAniSirGlobal pMac, tANI_U8 addr[], tANI_U32 level)
{
- limLog(pMac, (tANI_U16) level, FL("MAC ADDR = %d:%d:%d:%d:%d:%d"),
+ limLog(pMac, (tANI_U16) level,
+ FL("MAC ADDR = %02x:%02x:%02x:%02x:%02x:%02x"),
addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]);
}
// ---------------------------------------------------------------------