mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
Interworking: Remove unused password setting for SIM credential
The simulated SIM/USIM case uses a separate milenage cred parameter, so this cred password parameter was unused for this credential type. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3141b82c16
commit
07d462c7b7
@ -978,10 +978,6 @@ static int interworking_connect_3gpp(struct wpa_supplicant *wpa_s,
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cred->password && cred->password[0] &&
|
|
||||||
wpa_config_set_quoted(ssid, "password", cred->password) < 0)
|
|
||||||
goto fail;
|
|
||||||
|
|
||||||
wpa_s->next_ssid = ssid;
|
wpa_s->next_ssid = ssid;
|
||||||
wpa_config_update_prio_list(wpa_s->conf);
|
wpa_config_update_prio_list(wpa_s->conf);
|
||||||
interworking_reconnect(wpa_s);
|
interworking_reconnect(wpa_s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user