From 75a5ca48052e15f05c92e0d93106ee2a6985ed8b Mon Sep 17 00:00:00 2001 From: tabbas651 <74683978+tabbas651@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:02:17 -0500 Subject: [PATCH] Update NetworkManagerImplementation.cpp --- NetworkManagerImplementation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkManagerImplementation.cpp b/NetworkManagerImplementation.cpp index 66556040..401f5bae 100644 --- a/NetworkManagerImplementation.cpp +++ b/NetworkManagerImplementation.cpp @@ -503,7 +503,7 @@ namespace WPEFramework std::string frequency = object["frequency"].String(); bool ssidMatches = scanForSsidsSet.empty() || scanForSsidsSet.find(ssid) != scanForSsidsSet.end(); - bool freqMatches = scanForFreq.empty() || (isValidFrequency(scanForFreq) && scanForFreq == frequency); + bool freqMatches = scanForFreq.empty() || scanForFreq == frequency; if (ssidMatches && freqMatches) {