From c6f6c49021a68def0d94bc1d8ae3a3187e765135 Mon Sep 17 00:00:00 2001 From: rcitach Date: Thu, 16 Oct 2025 13:36:56 +0800 Subject: [PATCH] Update SECURITY_UNKNOWN value in dev_wlan.h Changed SECURITY_UNKNOWN value to 0xffffffff for clarity. --- components/drivers/wlan/dev_wlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/wlan/dev_wlan.h b/components/drivers/wlan/dev_wlan.h index 20e5671152f..979283e863e 100644 --- a/components/drivers/wlan/dev_wlan.h +++ b/components/drivers/wlan/dev_wlan.h @@ -114,7 +114,7 @@ typedef enum SECURITY_WPA2_MIXED_PSK = (WPA2_SECURITY | AES_ENABLED | TKIP_ENABLED), /* WPA2 Security with AES & TKIP */ SECURITY_WPS_OPEN = WPS_ENABLED, /* WPS with open security */ SECURITY_WPS_SECURE = (WPS_ENABLED | AES_ENABLED), /* WPS with AES security */ - SECURITY_UNKNOWN = -1, /* May be returned by scan function if security is unknown. + SECURITY_UNKNOWN = 0xffffffff, /* May be returned by scan function if security is unknown. Do not pass this to the join function! */ } rt_wlan_security_t;