From 07d462c7b7500ea275d83b63408a9b7387e20498 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 1 Mar 2014 11:31:08 +0200 Subject: [PATCH] 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 --- wpa_supplicant/interworking.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c index 42fefb6aa..e3ad9314f 100644 --- a/wpa_supplicant/interworking.c +++ b/wpa_supplicant/interworking.c @@ -978,10 +978,6 @@ static int interworking_connect_3gpp(struct wpa_supplicant *wpa_s, 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_config_update_prio_list(wpa_s->conf); interworking_reconnect(wpa_s);