[PATCH 14/14] wpa_supplicant: configure GO vht capabilities

Ilan Peer ilan.peer at intel.com
Mon May 19 03:07:16 EDT 2014


From: Eliad Peller <eliad at wizery.com>

Commit 92ecda4 ("hostapd: Set proper VHT capabilities")
fixed the vht capabilities driver configuration to be
taken from the configured vht_capab (rather than the
supported vht_capab).

However, in case of GO there are no configured
capabilities. Fix it by simply configuring all
the supported vht capabilities.

Signed-off-by: Eliad Peller <eliadx.peller at intel.com>
---
 wpa_supplicant/ap.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 59b8fcf..e998ec8 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -145,6 +145,9 @@ int wpas_conf_ap_freq(struct wpa_supplicant *wpa_s,
 			if (mode->vht_capab && ssid->vht) {
 				conf->ieee80211ac = 1;
 				wpas_conf_ap_vht(wpa_s, conf, mode);
+
+				/* configure all supported vht capabilities */
+				conf->vht_capab = mode->vht_capab;
 			}
 		}
 	}
-- 
1.7.10.4



More information about the HostAP mailing list