diff --git a/examples/platform/silabs/efr32/wf200/host_if.cpp b/examples/platform/silabs/efr32/wf200/host_if.cpp index 7e47ca4c6b..3699a943d4 100644 --- a/examples/platform/silabs/efr32/wf200/host_if.cpp +++ b/examples/platform/silabs/efr32/wf200/host_if.cpp @@ -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(strlen(ap_info.ssid) + 1, WFX_MAX_SSID_LENGTH); // +1 for null termination - // ap->ssid_length = strnlen(ap_info.ssid, chip::min(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;