From 4f1ededb588846df900264422ae11a44389d26bc Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 4 Oct 2016 14:23:36 -0500 Subject: [PATCH] Renamed NSAPI_SECURITY_UNSUPPORTED -> NSAPI_SECURITY_UNKNOWN Returning a wifi access point without information regarding the security type is only valid if the security type is unknown (from the perspective of the network-socket API). For clarity in situations in which scan may return an unsupported, but known security type, type name has been changed to NSAPI_SECURITY_UNKNOWN. --- features/netsocket/nsapi_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/netsocket/nsapi_types.h b/features/netsocket/nsapi_types.h index 4dfebd80f2..57e8f32622 100644 --- a/features/netsocket/nsapi_types.h +++ b/features/netsocket/nsapi_types.h @@ -58,7 +58,7 @@ typedef enum nsapi_security { NSAPI_SECURITY_WPA = 0x2, /*!< phrase conforms to WPA */ NSAPI_SECURITY_WPA2 = 0x3, /*!< phrase conforms to WPA2 */ NSAPI_SECURITY_WPA_WPA2 = 0x4, /*!< phrase conforms to WPA/WPA2 */ - NSAPI_SECURITY_UNSUPPORTED = 0xFF, /*!< unknown/unsupported security in scan results */ + NSAPI_SECURITY_UNKNOWN = 0xFF, /*!< unknown/unsupported security in scan results */ } nsapi_security_t; /** Maximum size of IP address representation