mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:49:37 +01:00
eap-mschapv2: remove unneeded initialization
This commit is contained in:
parent
405b897687
commit
71a7190ed2
@ -445,7 +445,6 @@ static int eap_mschapv2_check_settings(struct l_settings *settings,
|
|||||||
if (!identity) {
|
if (!identity) {
|
||||||
secret = l_queue_find(secrets, eap_secret_info_match, setting);
|
secret = l_queue_find(secrets, eap_secret_info_match, setting);
|
||||||
if (secret) {
|
if (secret) {
|
||||||
identity = l_strdup(secret->value);
|
|
||||||
password = l_strdup(secret->value +
|
password = l_strdup(secret->value +
|
||||||
strlen(secret->value) + 1);
|
strlen(secret->value) + 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user