mesh: Set mesh VHT center frequency

VHT center frequency value is required to compose the correct channel
info.

Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
This commit is contained in:
Peter Oh 2018-08-27 14:28:43 -07:00 committed by Jouni Malinen
parent 4b5453cedd
commit c95619c211

View file

@ -451,6 +451,7 @@ int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
if (wpa_s->mesh_vht_enabled) { if (wpa_s->mesh_vht_enabled) {
ssid->vht = 1; ssid->vht = 1;
ssid->vht_center_freq1 = params->freq.center_freq1;
switch (params->freq.bandwidth) { switch (params->freq.bandwidth) {
case 80: case 80:
if (params->freq.center_freq2) { if (params->freq.center_freq2) {