Skip to content

Commit 1e43a18

Browse files
authored
Merge pull request #11834 from kivaisan/fix_wifi_unsecure_test_check
Fix flag checks to allow disabling unsecure tests
2 parents fe0ac4f + dfa9692 commit 1e43a18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TESTS/network/wifi/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
!defined(MBED_CONF_APP_WIFI_CH_SECURE) || \
3535
!defined(MBED_CONF_APP_WIFI_PASSWORD) || \
3636
!defined(MBED_CONF_APP_WIFI_SECURE_SSID) || \
37-
!defined MBED_CONF_APP_WIFI_SECURE_PROTOCOL)
37+
!defined(MBED_CONF_APP_WIFI_SECURE_PROTOCOL))
3838
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for secure connections)
3939
#else
4040

4141
#if defined(MBED_CONF_APP_WIFI_UNSECURE_SSID) && \
42-
!defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
42+
(!defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
4343
!defined(MBED_CONF_APP_MAX_SCAN_SIZE) || \
4444
!defined(MBED_CONF_APP_WIFI_CH_UNSECURE) || \
45-
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
45+
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID))
4646
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for unsecure connections)
4747
#else
4848

0 commit comments

Comments
 (0)