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>
This commit is contained in:
parent
eae3df7ee4
commit
36f0cf3774
3 changed files with 9 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue