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
This commit is contained in:
Agrawal Ashish 2016-05-05 17:15:16 +05:30 • committed by Akash Patel
commit b2a0b76c83

View file

@ -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]);
}