aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2014-10-01 07:52:53 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-04 15:43:42 (GMT)
commit4ec68377efbaf03f514e17c24a7253ef8bb31ce0 (patch)
treee155b87c50ec0f7b7245f96a3918c4b123b74b78 /wpa_supplicant/ap.c
parent43f02e6ad727dea1db91a081bffb3fb863e31bbc (diff)
downloadhostap-4ec68377efbaf03f514e17c24a7253ef8bb31ce0.zip
hostap-4ec68377efbaf03f514e17c24a7253ef8bb31ce0.tar.gz
hostap-4ec68377efbaf03f514e17c24a7253ef8bb31ce0.tar.bz2
wpa_supplicant: Use hostapd_freq_params in assoc_params
Use hostapd_freq_params instead of simple frequency parameter for driver commands. This is preparation for IBSS configuration to allow use of HT/VHT in IBSS. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index f9aa807..7c93498 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -513,7 +513,7 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
}
if (ssid->frequency == 0)
ssid->frequency = 2462; /* default channel 11 */
- params.freq = ssid->frequency;
+ params.freq.freq = ssid->frequency;
params.wpa_proto = ssid->proto;
if (ssid->key_mgmt & WPA_KEY_MGMT_PSK)