[PATCH 16/26] wpa_supplicant: Fix channel switch notification with VHT
Ilan Peer
ilan.peer
Tue Sep 8 02:46:23 PDT 2015
From: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
Fix a bug in wpas_ap_ch_switch function, which didn't pass VHT
frequencies correctly to hostapd_event_ch_switch.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
wpa_supplicant/ap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index f8e2c1d..fd4a16c 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -1207,7 +1207,8 @@ void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
wpa_s->assoc_freq = freq;
wpa_s->current_ssid->frequency = freq;
- hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, offset, width, cf1, cf1);
+ hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht,
+ offset, width, cf1, cf2);
}
--
1.9.1
More information about the Hostap
mailing list