mirror of https://github.com/ARMmbed/mbed-os.git
Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2
parent
f71756cf98
commit
ca95e3f88b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue