Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2

pull/5743/head
Veijo Pesonen 2017-12-14 12:41:36 +02:00
parent f71756cf98
commit ca95e3f88b
1 changed files with 1 additions and 1 deletions

View File

@ -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();