mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +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));
|
||||
|
||||
/* 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();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user