Explorar el Código

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
Agrawal Ashish hace 9 años
padre
commit
b2a0b76c83
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      core/mac/src/dph/dph_hash_table.c

+ 2 - 1
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]);
 }