mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 14:40:54 +00:00
wifi: fix condition for non-protected connections
This commit is contained in:
parent
167925ab76
commit
65837e8ae9
@ -189,7 +189,7 @@ struct Wlan_configration
|
|||||||
node.attribute("psk").value(psk, sizeof(psk));
|
node.attribute("psk").value(psk, sizeof(psk));
|
||||||
|
|
||||||
/* psk must be between 8 and 63 characters long */
|
/* psk must be between 8 and 63 characters long */
|
||||||
if (Genode::strlen(psk) < MIN_PSK_LENGTH) {
|
if (use_protection && (Genode::strlen(psk) < MIN_PSK_LENGTH)) {
|
||||||
_active_dummy_configuration();
|
_active_dummy_configuration();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user