2020-07-23 17:34:00 +00:00
|
|
|
From 87c5e8883898e7eb8e9637e212350c1925a22654 Mon Sep 17 00:00:00 2001
|
2020-05-21 09:15:46 +00:00
|
|
|
From: Peter Oh <peter.oh@bowerswilkins.com>
|
2020-07-23 17:34:00 +00:00
|
|
|
Date: Tue, 30 Jun 2020 14:18:57 +0200
|
|
|
|
Subject: [PATCH 09/19] mesh: update ssid->frequency as pri/sec channel switch
|
2020-05-21 09:15:46 +00:00
|
|
|
|
|
|
|
ssid->frequency is one of variables used to gets channel
|
|
|
|
number from given frequency. Leave it as unchanged when
|
|
|
|
pri/sec channel switched will cause picking up wrong
|
|
|
|
channel number after applying secondary channel offset
|
|
|
|
for HT40 and leads failing interface bring-up.
|
|
|
|
|
|
|
|
Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
|
|
|
|
---
|
|
|
|
wpa_supplicant/mesh.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- a/wpa_supplicant/mesh.c
|
|
|
|
+++ b/wpa_supplicant/mesh.c
|
2020-07-23 17:34:00 +00:00
|
|
|
@@ -299,6 +299,7 @@ static int wpa_supplicant_mesh_init(stru
|
2020-05-21 09:15:46 +00:00
|
|
|
frequency == freq->freq + freq->sec_channel_offset * 20) {
|
|
|
|
wpa_printf(MSG_DEBUG, "mesh: pri/sec channels switched");
|
|
|
|
frequency = freq->freq;
|
|
|
|
+ ssid->frequency = frequency;
|
|
|
|
}
|
|
|
|
wpa_s->assoc_freq = frequency;
|
|
|
|
wpa_s->current_ssid = ssid;
|