This will output WPA-NONE for WPA_KEY_MGMT_WPA_NONE key_mgmt value in STATUS command Signed-off-by: Saurav Babu <saurav.babu@xxxxxxxxxxx> --- src/common/wpa_common.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.9.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap