]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mesh: Set mesh VHT center frequency
authorPeter Oh <peter.oh@bowerswilkins.com>
Mon, 27 Aug 2018 21:28:43 +0000 (14:28 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 3 Jan 2019 10:59:25 +0000 (12:59 +0200)
VHT center frequency value is required to compose the correct channel
info.

Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
wpa_supplicant/mesh.c

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