Skip to content

Commit cede159

Browse files
restyled-commitsjmartinez-silabs
authored andcommitted
Restyled by clang-format
1 parent 897621f commit cede159

File tree

1 file changed

+6
-7
lines changed
  • examples/platform/silabs/efr32/rs911x

1 file changed

+6
-7
lines changed

examples/platform/silabs/efr32/rs911x/rsi_if.c

+6-7
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
#include "sl_status.h"
2929
#include <cmsis_os2.h>
3030

31-
#include "silabs_utils.h"
32-
#include "wfx_host_events.h"
33-
#include "rsi_driver.h"
34-
#include "rsi_wlan_non_rom.h"
3531
#include "rsi_bootup_config.h"
3632
#include "rsi_common_apis.h"
3733
#include "rsi_data_types.h"
34+
#include "rsi_driver.h"
3835
#include "rsi_error.h"
3936
#include "rsi_nwk.h"
4037
#include "rsi_socket.h"
4138
#include "rsi_utils.h"
4239
#include "rsi_wlan.h"
4340
#include "rsi_wlan_apis.h"
4441
#include "rsi_wlan_config.h"
42+
#include "rsi_wlan_non_rom.h"
43+
#include "silabs_utils.h"
44+
#include "wfx_host_events.h"
4545

4646
#include "dhcp_client.h"
4747
#include "lwip/nd6.h"
@@ -317,7 +317,7 @@ static void wfx_rsi_join_fail_cb(uint16_t status, uint8_t * buf, uint32_t len)
317317
wfx_rsi.join_retries += 1;
318318
wfx_rsi.dev_state &= ~(WFX_RSI_ST_STA_CONNECTING | WFX_RSI_ST_STA_CONNECTED);
319319
is_wifi_disconnection_event = true;
320-
WfxEvent.eventType = WFX_EVT_STA_START_JOIN;
320+
WfxEvent.eventType = WFX_EVT_STA_START_JOIN;
321321
WfxPostEvent(&WfxEvent);
322322
}
323323
/*************************************************************************************
@@ -747,8 +747,7 @@ void ProcessEvent(WfxEvent_t inEvent)
747747
{
748748
scan = &scan_rsp.scan_info[x];
749749
// is it a scan all or target scan
750-
if (!wfx_rsi.scan_ssid ||
751-
(wfx_rsi.scan_ssid && strcmp(wfx_rsi.scan_ssid, (char *) scan->ssid) == CMP_SUCCESS))
750+
if (!wfx_rsi.scan_ssid || (wfx_rsi.scan_ssid && strcmp(wfx_rsi.scan_ssid, (char *) scan->ssid) == CMP_SUCCESS))
752751
{
753752
strncpy(ap.ssid, (char *) scan->ssid, MIN(sizeof(ap.ssid), sizeof(scan->ssid)));
754753
ap.security = scan->security_mode;

0 commit comments

Comments
 (0)