wlan: hdd: Fix additional logging format/argument mismatches
Previously change "wlan: hdd: fix logging format/argument mismatch"
fixed some instances of mismatches between format and argument in
invocations of logging APIs in the hdd code. Recent analysis has
uncovered additional mismatches, so fix them.
Change-Id: Ia4e7e45559d45b1bff2e49a6fa8cfac4d08debee
CRs-fixed: 570511
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c
index a155932..adcdb52 100644
--- a/CORE/HDD/src/wlan_hdd_hostapd.c
+++ b/CORE/HDD/src/wlan_hdd_hostapd.c
@@ -2701,8 +2701,7 @@
{
if(pAdapter->aStaInfo[i].isUsed)
{
- len = scnprintf(pBuf, buf_len, "%*d .%02x:%02x:%02x:%02x:%02x:%02x\n",
- strlen("staId"),
+ len = scnprintf(pBuf, buf_len, "%5d .%02x:%02x:%02x:%02x:%02x:%02x\n",
pAdapter->aStaInfo[i].ucSTAId,
pAdapter->aStaInfo[i].macAddrSTA.bytes[0],
pAdapter->aStaInfo[i].macAddrSTA.bytes[1],