From 9035b08b7cbe95286487a8744417ea211505a7a3 Mon Sep 17 00:00:00 2001
From: Maxime Bizon <mbizon@freebox.fr>
Date: Fri, 22 Nov 2013 18:10:33 +0100
Subject: [PATCH 06/18] hostapd: export NON ERP cap

---
 src/ap/ieee802_11.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index cec8ed6..5ff63b1 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -2139,8 +2139,10 @@ int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
 
 	/* Private MIB */
 	ret = os_snprintf(buf + len, buflen - len,
+			  "hostapdNONERP=%u\n"
 			  "hostapdSTAHTCAP=0x%x\n"
 			  "hostapdSTAVHTCAP=0x%x\n",
+			  (sta->flags & WLAN_STA_NONERP) ? 1 : 0,
 			  ht_caps, vht_caps);
 
 	if (ret < 0 || (size_t) ret >= buflen - len)
-- 
1.7.9.5

