aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2016-07-01 07:06:45 (GMT)
committerJouni Malinen <j@w1.fi>2016-07-03 16:13:41 (GMT)
commit4ac5f2f8f427b1da3b4a5d736b1333ae6aa8a02f (patch)
treeaff5341e0756137b22ed1989d352702b1c773022
parent50717e1e32bf7eca6ac02f14cf3ded0202c61bd5 (diff)
downloadhostap-4ac5f2f8f427b1da3b4a5d736b1333ae6aa8a02f.zip
hostap-4ac5f2f8f427b1da3b4a5d736b1333ae6aa8a02f.tar.gz
hostap-4ac5f2f8f427b1da3b4a5d736b1333ae6aa8a02f.tar.bz2
Add text name for WPA_KEY_MGMT_WPA_NONE key_mgmt value
This will output WPA-NONE for WPA_KEY_MGMT_WPA_NONE key_mgmt value in STATUS command. Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
-rw-r--r--src/common/wpa_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/wpa_common.c b/src/common/wpa_common.c
index d6295b2..299b8bb 100644
--- a/src/common/wpa_common.c
+++ b/src/common/wpa_common.c
@@ -1184,6 +1184,8 @@ const char * wpa_key_mgmt_txt(int key_mgmt, int proto)
"WPA2-PSK" : "WPA-PSK";
case WPA_KEY_MGMT_NONE:
return "NONE";
+ case WPA_KEY_MGMT_WPA_NONE:
+ return "WPA-NONE";
case WPA_KEY_MGMT_IEEE8021X_NO_WPA:
return "IEEE 802.1X (no WPA)";
#ifdef CONFIG_IEEE80211R