projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d7965
)
Update wpa_s->current_ssid->frequency on CS event
author
Andrei Otcheretianski
<andrei.otcheretianski@intel.com>
Tue, 8 Sep 2015 09:46:10 +0000
(12:46 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 25 Sep 2015 18:07:01 +0000
(21:07 +0300)
Update wpa_s->current_ssid->frequency when EVENT_CH_SWITCH is received.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/ap.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ap.c
b/wpa_supplicant/ap.c
index
ce09c57
..
16ebfaf
100644
(file)
--- a/
wpa_supplicant/ap.c
+++ b/
wpa_supplicant/ap.c
@@
-1205,6
+1205,8
@@
void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
return;
wpa_s->assoc_freq = freq;
+ if (wpa_s->current_ssid)
+ wpa_s->current_ssid->frequency = freq;
hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, offset, width, cf1, cf1);
}