[PATCH 03/26] wpa_supplicant: Update current_ssid->frequency on CS event
Ilan Peer
ilan.peer
Tue Sep 8 02:46:10 PDT 2015
From: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
Update wpa_s->current_ssid->frequency when EVENT_CH_SWITCH is received.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
wpa_supplicant/ap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index ce09c57..6d43619 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -1205,6 +1205,7 @@ void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
return;
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);
}
--
1.9.1
More information about the Hostap
mailing list