Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Nov 16, 2024
1 parent 5e9e2d5 commit ea7c91e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/silabs/wifi/SiWx/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ sl_status_t SetWifiConfigurations()
sl_status_t status = SL_STATUS_OK;

#if CHIP_CONFIG_ENABLE_ICD_SERVER
// Setting the listen interval to 0 which will set it to DTIM interval
// [sl-only] Set the listen interval to the slow polling interval during association
sl_wifi_listen_interval_t sleep_interval = { .listen_interval =
chip::ICDConfigurationData::GetInstance().GetSlowPollingInterval().count() };
status = sl_wifi_set_listen_interval(SL_WIFI_CLIENT_INTERFACE, sleep_interval);
Expand All @@ -355,7 +355,7 @@ sl_status_t SetWifiConfigurations()
status = sl_wifi_set_advanced_client_configuration(SL_WIFI_CLIENT_INTERFACE, &client_config);
VerifyOrReturnError(status == SL_STATUS_OK, status);

// sl-only: Required configuration for listen interval changes at runtime
// [sl-only] Required configuration for listen interval changes at runtime
status = sl_si91x_set_join_configuration(
SL_WIFI_CLIENT_INTERFACE, (SL_SI91X_JOIN_FEAT_LISTEN_INTERVAL_VALID | SL_SI91X_JOIN_FEAT_PS_CMD_LISTEN_INTERVAL_VALID));
VerifyOrReturnError(status == SL_STATUS_OK, status);
Expand Down Expand Up @@ -850,7 +850,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
/*
* Acquire the new IP address
*/
wfx_rsi.ip4_addr[0] = (ip) &0xFF;
wfx_rsi.ip4_addr[0] = (ip) & 0xFF;
wfx_rsi.ip4_addr[1] = (ip >> 8) & 0xFF;
wfx_rsi.ip4_addr[2] = (ip >> 16) & 0xFF;
wfx_rsi.ip4_addr[3] = (ip >> 24) & 0xFF;
Expand Down

0 comments on commit ea7c91e

Please sign in to comment.