Skip to content

Commit

Permalink
Update src/platform/silabs/wifi/SiWx/WifiInterface.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored Dec 6, 2024
1 parent 0ec36bd commit 17c423c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/platform/silabs/wifi/SiWx/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ sl_status_t show_scan_results(sl_wifi_scan_result_t * scan_result)
chip::Platform::CopyString(cur_scan_result.ssid, cur_scan_result.ssid_length + 1,
(char *) scan_result->scan_info[idx].ssid); // +1 for null termination


// if user has provided ssid, then check if the current scan result ssid matches the user provided ssid
if (wfx_rsi.scan_ssid != nullptr &&
(strncmp(wfx_rsi.scan_ssid, cur_scan_result.ssid, std::min(strlen(wfx_rsi.scan_ssid), strlen(cur_scan_result.ssid))) ==
Expand Down

0 comments on commit 17c423c

Please sign in to comment.