mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
wifi: fix condition for non-protected connections
This commit is contained in:
committed by
Christian Helmuth
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user