[v7,08/13] mesh: set mesh center frequency

Message ID 013b3dbf1d82b729b6fbf2e0a55c808d9d247ab4.1530660888.git.peter.oh@bowerswilkins.com
State Superseded
Headers show
Series
  • mesh: enable DFS channels in mesh mode
Related show

Commit Message

Peter Oh July 3, 2018, 11:40 p.m.
From: Peter Oh <peter.oh@bowerswilkins.com>

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 | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/wpa_supplicant/mesh.c b/wpa_supplicant/mesh.c
index b53243e..c70d1ef 100644
--- a/wpa_supplicant/mesh.c
+++ b/wpa_supplicant/mesh.c
@@ -459,6 +459,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) {