aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-09-08 09:46:23 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-25 18:09:58 (GMT)
commit55b4cc6dd7321878707ef28fd1cd61b0fe81d24d (patch)
treeec42e407f6c2fc7dd5aa3efc1a573cc54a54b6d4 /wpa_supplicant/ap.c
parentd7ded54774410591abd5705eb203455baf19a7de (diff)
downloadhostap-55b4cc6dd7321878707ef28fd1cd61b0fe81d24d.zip
hostap-55b4cc6dd7321878707ef28fd1cd61b0fe81d24d.tar.gz
hostap-55b4cc6dd7321878707ef28fd1cd61b0fe81d24d.tar.bz2
wpa_supplicant: Fix channel switch notification with VHT
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@intel.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 16ebfaf..7a4f4cf 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;
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);
+ hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht,
+ offset, width, cf1, cf2);
}