Skip to content

Commit 4f05f52

Browse files
committed
addressing the review comments
1 parent 2ff2011 commit 4f05f52

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/platform/silabs/wifi/wfx_notify.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,7 @@ void wfx_connected_notify(int32_t status, sl_wfx_mac_address_t * ap)
9898
{
9999
sl_wfx_connect_ind_t evt;
100100

101-
if (status != SUCCESS_STATUS)
102-
{
103-
ChipLogProgress(DeviceLayer, "wfx_connected_notify : error: failed status: %ld.", status);
104-
return;
105-
}
101+
VerifyOrReturn(status != SUCCESS_STATUS)
106102

107103
memset(&evt, 0, sizeof(evt));
108104
evt.header.id = SL_WFX_CONNECT_IND_ID;

0 commit comments

Comments
 (0)