File tree 1 file changed +0
-7
lines changed
src/platform/silabs/wifi/SiWx
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -470,13 +470,6 @@ sl_status_t JoinWifiNetwork(void)
470
470
// failure only happens when the firmware returns an error
471
471
ChipLogError (DeviceLayer, " sl_net_up failed: 0x%lx" , static_cast <uint32_t >(status));
472
472
473
- // Deactivate the network interface before activating it on the next retry.
474
- if ((status == SL_STATUS_SI91X_SCAN_ISSUED_IN_ASSOCIATED_STATE) || (status == SL_STATUS_SI91X_COMMAND_GIVEN_IN_INVALID_STATE))
475
- {
476
- status = sl_net_down ((sl_net_interface_t ) SL_NET_WIFI_CLIENT_INTERFACE);
477
- ChipLogProgress (DeviceLayer, " sl_net_down status 0x%lx" , static_cast <uint32_t >(status));
478
- }
479
-
480
473
wfx_rsi.dev_state .Clear (WifiState::kStationConnecting ).Clear (WifiState::kStationConnected );
481
474
482
475
ChipLogProgress (DeviceLayer, " Connection retry attempt %d" , wfx_rsi.join_retries );
You can’t perform that action at this time.
0 commit comments