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.
pull/2874/head
Christopher Haster 2016-10-04 14:23:36 -05:00
parent febc341672
commit 4f1ededb58
1 changed files with 1 additions and 1 deletions

View File

@ -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