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) {