From 72184aaefb9cbfff82c0d6d47ba635dbe9322919 Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:22:42 -0400 Subject: [PATCH 01/13] Update NetworkManagerGnomeProxy.cpp --- plugin/gnome/NetworkManagerGnomeProxy.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugin/gnome/NetworkManagerGnomeProxy.cpp b/plugin/gnome/NetworkManagerGnomeProxy.cpp index 932dd9a8..4fdccbe5 100644 --- a/plugin/gnome/NetworkManagerGnomeProxy.cpp +++ b/plugin/gnome/NetworkManagerGnomeProxy.cpp @@ -762,6 +762,9 @@ namespace WPEFramework { uint32_t rc = Core::ERROR_RPC_CALL_FAILED; + std::vector ssidsSnapshot; + + _filterVectorsLock.Lock(); //Cleared the Existing Store filterred SSID list m_filterSsidslist.clear(); m_filterFrequencies.clear(); @@ -801,6 +804,7 @@ namespace WPEFramework else { NMLOG_ERROR("Invalid frequency value: %s", frequency.c_str()); + _filterVectorsLock.Unlock(); return Core::ERROR_BAD_REQUEST; } } @@ -810,9 +814,11 @@ namespace WPEFramework } } } + ssidsSnapshot = m_filterSsidslist; + _filterVectorsLock.Unlock(); nmEvent->setwifiScanOptions(true); - if(wifi->wifiScanRequest(m_filterSsidslist)) + if(wifi->wifiScanRequest(ssidsSnapshot)) rc = Core::ERROR_NONE; return rc; } From ec8fb0dc49ba3af043e41ad2147a10349c0d6fa6 Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:23:27 -0400 Subject: [PATCH 02/13] Update NetworkManagerRDKProxy.cpp --- plugin/rdk/NetworkManagerRDKProxy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/rdk/NetworkManagerRDKProxy.cpp b/plugin/rdk/NetworkManagerRDKProxy.cpp index b163ae3c..82ea9d1f 100644 --- a/plugin/rdk/NetworkManagerRDKProxy.cpp +++ b/plugin/rdk/NetworkManagerRDKProxy.cpp @@ -973,6 +973,7 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { IARM_Result_t retVal = IARM_RESULT_SUCCESS; //Cleared the Existing Store filterred SSID list + _filterVectorsLock.Lock(); m_filterSsidslist.clear(); m_filterFrequencies.clear(); if(ssids) @@ -994,6 +995,7 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { NMLOG_DEBUG("%s added to Frequency filtering", frequencyList.c_str()); } } + _filterVectorsLock.Unlock(); memset(¶m, 0, sizeof(param)); From 29c743a170b48ac8dbcfb9e14cbc8866e304a247 Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:28:54 -0400 Subject: [PATCH 03/13] Update NetworkManagerImplementation.cpp --- plugin/NetworkManagerImplementation.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/plugin/NetworkManagerImplementation.cpp b/plugin/NetworkManagerImplementation.cpp index b10b375b..935d6454 100644 --- a/plugin/NetworkManagerImplementation.cpp +++ b/plugin/NetworkManagerImplementation.cpp @@ -738,7 +738,6 @@ namespace WPEFramework void NetworkManagerImplementation::ReportActiveInterfaceChange(const string prevActiveInterface, const string currentActiveinterface) { - _notificationLock.Lock(); NMLOG_INFO("Posting onActiveInterfaceChange %s", currentActiveinterface.c_str()); if(currentActiveinterface == "eth0") @@ -754,15 +753,15 @@ namespace WPEFramework // FIXME : This could be the place to define `m_defaultInterface` to incoming `currentActiveinterface`. // m_defaultInterface = currentActiveinterface; - + _notificationLock.Lock(); for (const auto callback : _notificationCallbacks) { callback->onActiveInterfaceChange(prevActiveInterface, currentActiveinterface); } + _notificationLock.Unlock(); #if USE_TELEMETRY NMLOG_INFO("NM_INTERFACE_STATUS = Interface changed to %s", currentActiveinterface.c_str()); logTelemetry("NM_INTERFACE_STATUS", "Interface changed to " + currentActiveinterface); -#endif - _notificationLock.Unlock(); +#endif } void NetworkManagerImplementation::ReportIPAddressChange(const string interface, const string ipversion, const string ipaddress, const Exchange::INetworkManager::IPStatus status) @@ -810,7 +809,6 @@ namespace WPEFramework void NetworkManagerImplementation::ReportInternetStatusChange(const Exchange::INetworkManager::InternetStatus prevState, const Exchange::INetworkManager::InternetStatus currState, const string interface) { - _notificationLock.Lock(); NMLOG_INFO("Posting onInternetStatusChange with current state as %u", (unsigned)currState); #if USE_TELEMETRY // Log error only when ethernet is up and there's no internet @@ -823,15 +821,16 @@ namespace WPEFramework logTelemetry("NM_ETHERNET_CONNECTIVITY", "Ethernet connectivity failed"); } #endif + _notificationLock.Lock(); for (const auto callback : _notificationCallbacks) { callback->onInternetStatusChange(prevState, currState, interface); } + _notificationLock.Unlock(); #if USE_TELEMETRY string stateStr = Core::EnumerateType(currState).Data(); NMLOG_INFO("NM_INTERNET_STATUS = %s", stateStr.c_str()); logTelemetry("NM_INTERNET_STATUS", stateStr); #endif - _notificationLock.Unlock(); } int32_t NetworkManagerImplementation::logSSIDs(Logging level, const JsonArray &ssids) @@ -855,7 +854,6 @@ namespace WPEFramework void NetworkManagerImplementation::ReportAvailableSSIDs(const JsonArray &arrayofWiFiScanResults) { - _notificationLock.Lock(); string jsonOfWiFiScanResults; string jsonOfFilterScanResults; JsonArray filterResult = arrayofWiFiScanResults; @@ -864,12 +862,15 @@ namespace WPEFramework NMLOG_DEBUG("Discovered %d SSIDs before filtering as,", filterResult.Length()); logSSIDs(LOG_LEVEL_DEBUG, filterResult); + _filterVectorsLock.Lock(); filterScanResults(filterResult); + _filterVectorsLock.Unlock(); filterResult.ToString(jsonOfFilterScanResults); NMLOG_INFO("Posting onAvailableSSIDs event with %d SSIDs as,", filterResult.Length()); logSSIDs(LOG_LEVEL_INFO, filterResult); + _notificationLock.Lock(); for (const auto callback : _notificationCallbacks) { callback->onAvailableSSIDs(jsonOfFilterScanResults); } @@ -1177,13 +1178,13 @@ namespace WPEFramework m_wlanConnected.store(false); /* Any other state is considered as WiFi not connected. */ } - _notificationLock.Lock(); NMLOG_INFO("Posting onWiFiStateChange (%d)", state); #if USE_TELEMETRY string stateStr = Core::EnumerateType(state).Data(); NMLOG_INFO("NM_WIFI_STATUS = %s", stateStr.c_str()); logTelemetry("NM_WIFI_STATUS", stateStr); #endif + _notificationLock.Lock(); for (const auto callback : _notificationCallbacks) { callback->onWiFiStateChange(state); } From d724ad691291658b6c2b48f39a30bcf2c98112fc Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:29:33 -0400 Subject: [PATCH 04/13] Update NetworkManagerImplementation.h --- plugin/NetworkManagerImplementation.h | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NetworkManagerImplementation.h b/plugin/NetworkManagerImplementation.h index 65baa0b1..4c888d64 100644 --- a/plugin/NetworkManagerImplementation.h +++ b/plugin/NetworkManagerImplementation.h @@ -348,6 +348,7 @@ namespace WPEFramework private: std::list _notificationCallbacks; Core::CriticalSection _notificationLock; + Core::CriticalSection _filterVectorsLock; string m_publicIP; stun::client stunClient; string m_stunEndpoint; From d757a803f7a14d36efce6da6cfe0882626db30dd Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 16:03:42 -0400 Subject: [PATCH 05/13] Update NetworkManagerImplementation.cpp --- plugin/NetworkManagerImplementation.cpp | 28 ++++++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/plugin/NetworkManagerImplementation.cpp b/plugin/NetworkManagerImplementation.cpp index 935d6454..71fb827d 100644 --- a/plugin/NetworkManagerImplementation.cpp +++ b/plugin/NetworkManagerImplementation.cpp @@ -597,14 +597,16 @@ namespace WPEFramework return; } - void NetworkManagerImplementation::filterScanResults(JsonArray &ssids) + void NetworkManagerImplementation::filterScanResults(JsonArray &ssids, + const std::vector& filterSsidslist, + const std::vector& filterFrequencies) { JsonArray result; double filterFreq = 0.0; - std::unordered_set scanForSsidsSet(m_filterSsidslist.begin(), m_filterSsidslist.end()); + std::unordered_set scanForSsidsSet(filterSsidslist.begin(), filterSsidslist.end()); // If neither SSID list nor frequency is provided, exit - if (m_filterSsidslist.empty() && m_filterFrequencies.empty()) + if (filterSsidslist.empty() && filterFrequencies.empty()) { NMLOG_DEBUG("Neither SSID nor Frequency is provided. Exiting function."); return; @@ -618,10 +620,10 @@ namespace WPEFramework double frequencyValue = std::stod(frequency); bool ssidMatches = scanForSsidsSet.empty() || scanForSsidsSet.find(ssid) != scanForSsidsSet.end(); - bool freqMatches = m_filterFrequencies.empty(); + bool freqMatches = filterFrequencies.empty(); if (!freqMatches) { - for (const auto& selectedFrequency : m_filterFrequencies) + for (const auto& selectedFrequency : filterFrequencies) { if (selectedFrequency == "ALL") { @@ -862,9 +864,19 @@ namespace WPEFramework NMLOG_DEBUG("Discovered %d SSIDs before filtering as,", filterResult.Length()); logSSIDs(LOG_LEVEL_DEBUG, filterResult); - _filterVectorsLock.Lock(); - filterScanResults(filterResult); - _filterVectorsLock.Unlock(); + // Snapshot filter vectors under lock, then release before calling filterScanResults + // to ensure exception-safety (std::stod can throw). + std::vector ssidsSnapshot; + std::vector frequenciesSnapshot; + { + _filterVectorsLock.Lock(); + ssidsSnapshot = m_filterSsidslist; + frequenciesSnapshot = m_filterFrequencies; + _filterVectorsLock.Unlock(); + } + + // Call filterScanResults outside the lock with snapshots (exception-safe) + filterScanResults(filterResult, ssidsSnapshot, frequenciesSnapshot); filterResult.ToString(jsonOfFilterScanResults); NMLOG_INFO("Posting onAvailableSSIDs event with %d SSIDs as,", filterResult.Length()); From 43abfe7600df7bc4cc2302288333a5df45a825e6 Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 16:04:03 -0400 Subject: [PATCH 06/13] Update NetworkManagerImplementation.h --- plugin/NetworkManagerImplementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NetworkManagerImplementation.h b/plugin/NetworkManagerImplementation.h index 4c888d64..e4b7895f 100644 --- a/plugin/NetworkManagerImplementation.h +++ b/plugin/NetworkManagerImplementation.h @@ -338,7 +338,7 @@ namespace WPEFramework void getInitialConnectionState(void); void executeExternally(NetworkEvents event, const string commandToExecute, string& response); void threadEventRegistration(bool iarmInit, bool iarmConnect); - void filterScanResults(JsonArray &ssids); + void filterScanResults(JsonArray &ssids, const std::vector& filterSsidslist, const std::vector& filterFrequencies); void startWiFiSignalQualityMonitor(int interval); void stopWiFiSignalQualityMonitor(); void monitorThreadFunction(int interval); From 065578bde544cbf64f781449b0c6abf51595464d Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Thu, 25 Jun 2026 16:10:05 -0400 Subject: [PATCH 07/13] Update NetworkManagerLogger.h --- plugin/NetworkManagerLogger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NetworkManagerLogger.h b/plugin/NetworkManagerLogger.h index 4c35f1ab..ff1b1497 100644 --- a/plugin/NetworkManagerLogger.h +++ b/plugin/NetworkManagerLogger.h @@ -70,7 +70,7 @@ void logPrint(LogLevel level, const char* file, const char* func, int line, cons #define NMLOG_ERROR(FMT, ...) logPrint(NetworkManagerLogger::ERROR_LEVEL, __FILE__, __func__, __LINE__, FMT, ##__VA_ARGS__) #define NMLOG_FATAL(FMT, ...) logPrint(NetworkManagerLogger::FATAL_LEVEL, __FILE__,__func__, __LINE__, FMT, ##__VA_ARGS__) -#define LOG_ENTRY_FUNCTION() { NMLOG_DEBUG("Entering"); } +#define LOG_ENTRY_FUNCTION() { NMLOG_INFO("Entering"); } } // namespace NetworkManagerLogger From 369963a5a8852b28de766372f9d270848cb4177b Mon Sep 17 00:00:00 2001 From: jincysam87 Date: Tue, 30 Jun 2026 11:43:41 -0400 Subject: [PATCH 08/13] Updated --- plugin/gnome/NetworkManagerGnomeProxy.cpp | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/plugin/gnome/NetworkManagerGnomeProxy.cpp b/plugin/gnome/NetworkManagerGnomeProxy.cpp index 4fdccbe5..1732eb6c 100644 --- a/plugin/gnome/NetworkManagerGnomeProxy.cpp +++ b/plugin/gnome/NetworkManagerGnomeProxy.cpp @@ -763,11 +763,8 @@ namespace WPEFramework uint32_t rc = Core::ERROR_RPC_CALL_FAILED; std::vector ssidsSnapshot; - - _filterVectorsLock.Lock(); - //Cleared the Existing Store filterred SSID list - m_filterSsidslist.clear(); - m_filterFrequencies.clear(); + std::vector filteredSsids; + std::vector filteredFrequencies; if(ssids) { @@ -776,7 +773,7 @@ namespace WPEFramework { if (!tmpssidlist.empty()) { - m_filterSsidslist.push_back(tmpssidlist.c_str()); + filteredSsids.push_back(tmpssidlist); NMLOG_DEBUG("%s added to SSID filtering", tmpssidlist.c_str()); } else @@ -798,13 +795,12 @@ namespace WPEFramework const string normalizedFrequency = parsedFrequency.Data(); if ((!normalizedFrequency.empty()) && (normalizedFrequency == frequency)) { - m_filterFrequencies.push_back(normalizedFrequency); + filteredFrequencies.push_back(normalizedFrequency); NMLOG_DEBUG("Frequency %s added to scan filtering", normalizedFrequency.c_str()); } else { NMLOG_ERROR("Invalid frequency value: %s", frequency.c_str()); - _filterVectorsLock.Unlock(); return Core::ERROR_BAD_REQUEST; } } @@ -814,6 +810,13 @@ namespace WPEFramework } } } + + _filterVectorsLock.Lock(); + // Replace existing stored filters only after successful parsing/validation. + m_filterSsidslist.clear(); + m_filterFrequencies.clear(); + m_filterSsidslist = filteredSsids; + m_filterFrequencies = filteredFrequencies; ssidsSnapshot = m_filterSsidslist; _filterVectorsLock.Unlock(); From 23ab644b2515fd03b9c7b1db854bbc8455b50a65 Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:51:16 -0400 Subject: [PATCH 09/13] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- plugin/rdk/NetworkManagerRDKProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rdk/NetworkManagerRDKProxy.cpp b/plugin/rdk/NetworkManagerRDKProxy.cpp index 82ea9d1f..c6cf166a 100644 --- a/plugin/rdk/NetworkManagerRDKProxy.cpp +++ b/plugin/rdk/NetworkManagerRDKProxy.cpp @@ -972,7 +972,7 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { IARM_Bus_WiFiSrvMgr_SsidList_Param_t param{}; IARM_Result_t retVal = IARM_RESULT_SUCCESS; - //Cleared the Existing Store filterred SSID list +//Cleared the Existing Store filtered SSID list _filterVectorsLock.Lock(); m_filterSsidslist.clear(); m_filterFrequencies.clear(); From 640d3e5f460316d02787fa6b00a6ca0dc381b89d Mon Sep 17 00:00:00 2001 From: jincysam87 Date: Tue, 30 Jun 2026 12:05:56 -0400 Subject: [PATCH 10/13] Updated --- plugin/gnome/NetworkManagerGnomeProxy.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/gnome/NetworkManagerGnomeProxy.cpp b/plugin/gnome/NetworkManagerGnomeProxy.cpp index 1732eb6c..715a2b50 100644 --- a/plugin/gnome/NetworkManagerGnomeProxy.cpp +++ b/plugin/gnome/NetworkManagerGnomeProxy.cpp @@ -762,7 +762,6 @@ namespace WPEFramework { uint32_t rc = Core::ERROR_RPC_CALL_FAILED; - std::vector ssidsSnapshot; std::vector filteredSsids; std::vector filteredFrequencies; @@ -817,11 +816,10 @@ namespace WPEFramework m_filterFrequencies.clear(); m_filterSsidslist = filteredSsids; m_filterFrequencies = filteredFrequencies; - ssidsSnapshot = m_filterSsidslist; _filterVectorsLock.Unlock(); nmEvent->setwifiScanOptions(true); - if(wifi->wifiScanRequest(ssidsSnapshot)) + if(wifi->wifiScanRequest(filteredSsids)) rc = Core::ERROR_NONE; return rc; } From b997e7dc5ddd6e33ca68b917f8c71fb53575a70a Mon Sep 17 00:00:00 2001 From: jincysam87 <167995204+jincysam87@users.noreply.github.com> Date: Tue, 30 Jun 2026 12:07:07 -0400 Subject: [PATCH 11/13] Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- plugin/rdk/NetworkManagerRDKProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rdk/NetworkManagerRDKProxy.cpp b/plugin/rdk/NetworkManagerRDKProxy.cpp index c6cf166a..22b177b9 100644 --- a/plugin/rdk/NetworkManagerRDKProxy.cpp +++ b/plugin/rdk/NetworkManagerRDKProxy.cpp @@ -972,7 +972,7 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { IARM_Bus_WiFiSrvMgr_SsidList_Param_t param{}; IARM_Result_t retVal = IARM_RESULT_SUCCESS; -//Cleared the Existing Store filtered SSID list + // Cleared the existing stored filtered SSID list _filterVectorsLock.Lock(); m_filterSsidslist.clear(); m_filterFrequencies.clear(); From 8b03526601a06e530a5245ef02f9e4ed1eb637cd Mon Sep 17 00:00:00 2001 From: jincysam87 Date: Tue, 30 Jun 2026 12:23:09 -0400 Subject: [PATCH 12/13] Updated review comments --- plugin/NetworkManagerImplementation.cpp | 10 ++++------ plugin/NetworkManagerImplementation.h | 2 +- plugin/NetworkManagerLogger.h | 2 +- plugin/gnome/NetworkManagerGnomeProxy.cpp | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/plugin/NetworkManagerImplementation.cpp b/plugin/NetworkManagerImplementation.cpp index 71fb827d..1beffab6 100644 --- a/plugin/NetworkManagerImplementation.cpp +++ b/plugin/NetworkManagerImplementation.cpp @@ -868,12 +868,10 @@ namespace WPEFramework // to ensure exception-safety (std::stod can throw). std::vector ssidsSnapshot; std::vector frequenciesSnapshot; - { - _filterVectorsLock.Lock(); - ssidsSnapshot = m_filterSsidslist; - frequenciesSnapshot = m_filterFrequencies; - _filterVectorsLock.Unlock(); - } + m_filterVectorsLock.Lock(); + ssidsSnapshot = m_filterSsidslist; + frequenciesSnapshot = m_filterFrequencies; + m_filterVectorsLock.Unlock(); // Call filterScanResults outside the lock with snapshots (exception-safe) filterScanResults(filterResult, ssidsSnapshot, frequenciesSnapshot); diff --git a/plugin/NetworkManagerImplementation.h b/plugin/NetworkManagerImplementation.h index e4b7895f..b7bffe91 100644 --- a/plugin/NetworkManagerImplementation.h +++ b/plugin/NetworkManagerImplementation.h @@ -348,7 +348,7 @@ namespace WPEFramework private: std::list _notificationCallbacks; Core::CriticalSection _notificationLock; - Core::CriticalSection _filterVectorsLock; + Core::CriticalSection m_filterVectorsLock; string m_publicIP; stun::client stunClient; string m_stunEndpoint; diff --git a/plugin/NetworkManagerLogger.h b/plugin/NetworkManagerLogger.h index ff1b1497..b5484c35 100644 --- a/plugin/NetworkManagerLogger.h +++ b/plugin/NetworkManagerLogger.h @@ -70,7 +70,7 @@ void logPrint(LogLevel level, const char* file, const char* func, int line, cons #define NMLOG_ERROR(FMT, ...) logPrint(NetworkManagerLogger::ERROR_LEVEL, __FILE__, __func__, __LINE__, FMT, ##__VA_ARGS__) #define NMLOG_FATAL(FMT, ...) logPrint(NetworkManagerLogger::FATAL_LEVEL, __FILE__,__func__, __LINE__, FMT, ##__VA_ARGS__) -#define LOG_ENTRY_FUNCTION() { NMLOG_INFO("Entering"); } +#define LOG_ENTRY_FUNCTION() { NMLOG_INFO("Entering %s", __func__); } } // namespace NetworkManagerLogger diff --git a/plugin/gnome/NetworkManagerGnomeProxy.cpp b/plugin/gnome/NetworkManagerGnomeProxy.cpp index 715a2b50..30d065e8 100644 --- a/plugin/gnome/NetworkManagerGnomeProxy.cpp +++ b/plugin/gnome/NetworkManagerGnomeProxy.cpp @@ -810,13 +810,13 @@ namespace WPEFramework } } - _filterVectorsLock.Lock(); + m_filterVectorsLock.Lock(); // Replace existing stored filters only after successful parsing/validation. m_filterSsidslist.clear(); m_filterFrequencies.clear(); m_filterSsidslist = filteredSsids; m_filterFrequencies = filteredFrequencies; - _filterVectorsLock.Unlock(); + m_filterVectorsLock.Unlock(); nmEvent->setwifiScanOptions(true); if(wifi->wifiScanRequest(filteredSsids)) From a637eb2636e7d84a4fc795d7d2b147f5b1af0fe9 Mon Sep 17 00:00:00 2001 From: jincysam87 Date: Tue, 30 Jun 2026 12:26:07 -0400 Subject: [PATCH 13/13] Updated --- plugin/rdk/NetworkManagerRDKProxy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/rdk/NetworkManagerRDKProxy.cpp b/plugin/rdk/NetworkManagerRDKProxy.cpp index 22b177b9..b6b70e1a 100644 --- a/plugin/rdk/NetworkManagerRDKProxy.cpp +++ b/plugin/rdk/NetworkManagerRDKProxy.cpp @@ -972,8 +972,8 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { IARM_Bus_WiFiSrvMgr_SsidList_Param_t param{}; IARM_Result_t retVal = IARM_RESULT_SUCCESS; - // Cleared the existing stored filtered SSID list - _filterVectorsLock.Lock(); + //Cleared the Existing Store filterred SSID list + m_filterVectorsLock.Lock(); m_filterSsidslist.clear(); m_filterFrequencies.clear(); if(ssids) @@ -995,7 +995,7 @@ const string CIDR_PREFIXES[CIDR_NETMASK_IP_LEN+1] = { NMLOG_DEBUG("%s added to Frequency filtering", frequencyList.c_str()); } } - _filterVectorsLock.Unlock(); + m_filterVectorsLock.Unlock(); memset(¶m, 0, sizeof(param));