]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Interworking: Remove unused password setting for SIM credential
authorJouni Malinen <j@w1.fi>
Sat, 1 Mar 2014 09:31:08 +0000 (11:31 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Mar 2014 15:06:20 +0000 (17:06 +0200)
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>
wpa_supplicant/interworking.c

index 42fefb6aa170e22724706105e239b983f09bd1e9..e3ad9314f06072e0d296f57d5d1ea1bc29a35092 100644 (file)
@@ -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);