Skip to content

Commit

Permalink
Update NetworkManagerImplementation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tabbas651 authored Nov 13, 2024
1 parent df3fb12 commit 75a5ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetworkManagerImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 75a5ca4

Please sign in to comment.