We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b760a1 commit cc9d5c8Copy full SHA for cc9d5c8
examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.cpp
@@ -689,7 +689,7 @@ static sl_status_t wfx_rsi_do_join(void)
689
status = sl_wifi_connect(SL_WIFI_CLIENT_INTERFACE, &ap, timeout_ms);
690
// sl_wifi_connect returns SL_STATUS_IN_PROGRESS if join is in progress
691
// after the initial scan is done, the scan does not check for SSID
692
- VerifyOrReturnError((status == SL_STATUS_OK || status == SL_STATUS_IN_PROGRESS), status);
+ ReturnErrorCodeIf((status == SL_STATUS_OK || status == SL_STATUS_IN_PROGRESS), status);
693
694
// failure only happens when the firmware returns an error
695
ChipLogError(DeviceLayer, "wfx_rsi_do_join: sl_wifi_connect failed: 0x%lx", status);
0 commit comments