From ca95e3f88b6b8af751ab5fb89d32b480afe5611f Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Thu, 14 Dec 2017 12:41:36 +0200 Subject: [PATCH] Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2 --- TESTS/network/wifi/wifi_connect_secure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/network/wifi/wifi_connect_secure.cpp b/TESTS/network/wifi/wifi_connect_secure.cpp index 1bf3f1426b..cd8e162444 100644 --- a/TESTS/network/wifi/wifi_connect_secure.cpp +++ b/TESTS/network/wifi/wifi_connect_secure.cpp @@ -29,7 +29,7 @@ void wifi_connect_secure(void) { WiFiInterface *wifi = get_interface(); - TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->set_credentials(MBED_CONF_APP_WIFI_SECURE_SSID, MBED_CONF_APP_WIFI_PASSWORD, NSAPI_SECURITY_WPA2)); + TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->set_credentials(MBED_CONF_APP_WIFI_SECURE_SSID, MBED_CONF_APP_WIFI_PASSWORD, NSAPI_SECURITY_WPA_WPA2)); TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->connect()); wifi->disconnect();