From 72c5c289fbdbb99854d8f9e2d94032a3227e4292 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 12 Dec 2014 13:40:07 +0200 Subject: [PATCH] Add text names for number of the key_mgmt values This completes STATUS command key_mgmt output for the missing values, like SAE. Signed-off-by: Jouni Malinen --- src/common/wpa_common.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/wpa_common.c b/src/common/wpa_common.c index 219f40f11..a573e11eb 100644 --- a/src/common/wpa_common.c +++ b/src/common/wpa_common.c @@ -1044,6 +1044,14 @@ const char * wpa_key_mgmt_txt(int key_mgmt, int proto) case WPA_KEY_MGMT_PSK_SHA256: return "WPA2-PSK-SHA256"; #endif /* CONFIG_IEEE80211W */ + case WPA_KEY_MGMT_WPS: + return "WPS"; + case WPA_KEY_MGMT_SAE: + return "SAE"; + case WPA_KEY_MGMT_FT_SAE: + return "FT-SAE"; + case WPA_KEY_MGMT_OSEN: + return "OSEN"; case WPA_KEY_MGMT_IEEE8021X_SUITE_B: return "WPA2-EAP-SUITE-B"; default: