From 11b4a43b136e5254b8eb34ed915cdf5e03f765ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 07:18:41 +0000 Subject: [PATCH 1/2] Initial plan From 5aee8491b43411b2a8638d3dcaaa9205910c225a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 07:22:36 +0000 Subject: [PATCH 2/2] Fix misleading 'curl init failed' log messages to accurately reflect getJsonRPCData() failure Co-authored-by: Vismalskumar0 <188226757+Vismalskumar0@users.noreply.github.com> --- src/hostif/profiles/wifi/Device_WiFi_EndPoint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hostif/profiles/wifi/Device_WiFi_EndPoint.cpp b/src/hostif/profiles/wifi/Device_WiFi_EndPoint.cpp index 5b7188790..83f229820 100644 --- a/src/hostif/profiles/wifi/Device_WiFi_EndPoint.cpp +++ b/src/hostif/profiles/wifi/Device_WiFi_EndPoint.cpp @@ -470,7 +470,7 @@ int hostIf_WiFi_EndPoint::refreshCache() } else { - RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: curl init failed\n", __FUNCTION__); + RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: getJsonRPCData() failed or returned empty response\n", __FUNCTION__); return NOK; } @@ -514,7 +514,7 @@ int hostIf_WiFi_EndPoint::refreshCache() } else { - RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: curl init failed\n", __FUNCTION__); + RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: getJsonRPCData() failed or returned empty response\n", __FUNCTION__); return NOK; } @@ -557,7 +557,7 @@ int hostIf_WiFi_EndPoint::refreshCache() } else { - RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: curl init failed\n", __FUNCTION__); + RDK_LOG (RDK_LOG_ERROR, LOG_TR69HOSTIF, "%s: getJsonRPCData() failed or returned empty response\n", __FUNCTION__); return NOK; }