Skip to content

Commit

Permalink
removing the commneted code
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-silabs committed Oct 30, 2024
1 parent ff8ff48 commit 7f20f4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/platform/silabs/efr32/wf200/host_if.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,6 @@ int32_t wfx_get_ap_info(wfx_wifi_scan_result_t * ap)
int32_t signal_strength;

ap->ssid_length = chip::min<size_t>(strlen(ap_info.ssid) + 1, WFX_MAX_SSID_LENGTH); // +1 for null termination
// ap->ssid_length = strnlen(ap_info.ssid, chip::min<size_t>(sizeof(ap_info.ssid) + 1, WFX_MAX_SSID_LENGTH));
chip::Platform::CopyString(ap->ssid, ap->ssid_length, ap_info.ssid);
memcpy(ap->bssid, ap_info.bssid, sizeof(ap_info.bssid));
ap->security = ap_info.security;
Expand Down

0 comments on commit 7f20f4c

Please sign in to comment.