Skip to content

Commit

Permalink
Added restyle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Oct 17, 2023
1 parent 862d6d4 commit 9e9b2f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ sl_status_t show_scan_results(sl_wifi_scan_result_t * scan_result)
ARGS_CHECK_NULL_POINTER(scan_result);
int x;
wfx_wifi_scan_result_t ap;
for (x = 0; x < (int)scan_result->scan_count; x++)
for (x = 0; x < (int) scan_result->scan_count; x++)
{
strcpy(&ap.ssid[0], (char *) &scan_result->scan_info[x].ssid);
if (wfx_rsi.scan_ssid)
Expand Down Expand Up @@ -377,7 +377,7 @@ sl_status_t show_scan_results(sl_wifi_scan_result_t * scan_result)
}
sl_status_t bg_scan_callback_handler(sl_wifi_event_t event, sl_wifi_scan_result_t * result, uint32_t result_length, void * arg)
{
callback_status = show_scan_results(result);
callback_status = show_scan_results(result);
bg_scan_results_complete = true;
return SL_STATUS_OK;
}
Expand All @@ -391,7 +391,7 @@ sl_status_t bg_scan_callback_handler(sl_wifi_event_t event, sl_wifi_scan_result_
*******************************************************************************************/
static void wfx_rsi_save_ap_info() // translation
{
if(wfx_rsi.dev_state & WFX_RSI_ST_SCANSTARTED)
if (wfx_rsi.dev_state & WFX_RSI_ST_SCANSTARTED)
{
return;
}
Expand Down Expand Up @@ -683,7 +683,7 @@ void wfx_rsi_task(void * arg)
}
else
{
wifi_scan_configuration = default_wifi_scan_configuration;
wifi_scan_configuration = default_wifi_scan_configuration;
}
sl_wifi_set_scan_callback(bg_scan_callback_handler, NULL);
wfx_rsi.dev_state |= WFX_RSI_ST_SCANSTARTED;
Expand Down

0 comments on commit 9e9b2f2

Please sign in to comment.