[PATCH 07/14] wpa_supplicant: Update current_ssid->frequency on CS event
Ilan Peer
ilan.peer
Mon May 19 00:07:09 PDT 2014
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 735260e..5f7aab8 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -1140,6 +1140,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.7.10.4
More information about the Hostap
mailing list