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_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index a4ee77e..7cb2c3b 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -7760,13 +7760,13 @@
// Added for debug on reception of Re-assoc Req.
if (eConnectionState_Associated != pHddStaCtx->conn_info.connState)
{
- hddLog(LOGE, FL("Called with Ie of length = %d when not associated\n"),
+ hddLog(LOGE, FL("Called with Ie of length = %zu when not associated\n"),
ftie->ie_len);
hddLog(LOGE, FL("Should be Re-assoc Req IEs\n"));
}
#ifdef WLAN_FEATURE_VOWIFI_11R_DEBUG
- hddLog(LOGE, FL("%s called with Ie of length = %d\n"), __func__,
+ hddLog(LOGE, FL("%s called with Ie of length = %zu\n"), __func__,
ftie->ie_len);
#endif
@@ -7995,7 +7995,7 @@
}
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "request->ie_len = %d", request->ie_len);
+ "request->ie_len = %zu", request->ie_len);
if ((0 < request->ie_len) && (NULL != request->ie))
{
pPnoRequest->us24GProbeTemplateLen = request->ie_len;