mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-02 09:22:32 +01:00
eap-wsc: Drop 8 digit PIN check
EAP-WSC handles 4 digit, 8 digit and out-of-band Device passwords. The latter in particular can be anything, so drop the mandatory minimum password length check here. This also has the effect of enabling 4-digit PINs to actually work as they are intended.
This commit is contained in:
parent
a3cc68e61e
commit
cc37018426
@ -1277,9 +1277,6 @@ static bool eap_wsc_load_settings(struct eap_state *eap,
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (i < 8)
|
||||
goto err;
|
||||
|
||||
wsc->device_password = strdup(device_password);
|
||||
/*
|
||||
* WSC 2.0.5: Section 7.4:
|
||||
|
Loading…
Reference in New Issue
Block a user