aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_priv.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-24 18:10:23 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-25 14:37:12 (GMT)
commit36f0cf3774a20c605991b000e4ecb12a3413099e (patch)
tree4112977b20d96c46f424ba478149e13490b33ad3 /wpa_supplicant/wpa_priv.c
parenteae3df7ee4edae506b1063252adfe46eabd3a37e (diff)
downloadhostap-36f0cf3774a20c605991b000e4ecb12a3413099e.zip
hostap-36f0cf3774a20c605991b000e4ecb12a3413099e.tar.gz
hostap-36f0cf3774a20c605991b000e4ecb12a3413099e.tar.bz2
privsep: Fix compilation due to associate() parameter updates
struct wpa_driver_associate_params moved to using struct hostapd_freq_params instead of just frequency. Need to update wpa_priv to do same. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_priv.c')
-rw-r--r--wpa_supplicant/wpa_priv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_priv.c b/wpa_supplicant/wpa_priv.c
index 5426177..193ea6c 100644
--- a/wpa_supplicant/wpa_priv.c
+++ b/wpa_supplicant/wpa_priv.c
@@ -202,7 +202,9 @@ static void wpa_priv_cmd_associate(struct wpa_priv_interface *iface,
if (assoc->ssid_len > 32)
return;
params.ssid_len = assoc->ssid_len;
- params.freq = assoc->freq;
+ params.freq.mode = assoc->hwmode;
+ params.freq.freq = assoc->freq;
+ params.freq.channel = assoc->channel;
if (assoc->wpa_ie_len) {
params.wpa_ie = (u8 *) (assoc + 1);
params.wpa_ie_len = assoc->wpa_ie_len;