Skip to content
Snippets Groups Projects

config: use none encryption if not specified in ap section

Merged Jakob Olsson requested to merge default-encr into devel
1 file
+ 2
5
Compare changes
  • Side-by-side
  • Inline
+ 2
5
@@ -1163,11 +1163,8 @@ static int cntlr_config_get_credentials(struct controller_config *c,
cred->mode = AP_WIFI_FBSS;
}
if (use_default_security) {
cred->sec |= BIT(WIFI_SECURITY_WPA3PSK);
if (!!(cred->multi_ap & 2))
cred->sec |= BIT(WIFI_SECURITY_WPA3PSK_T);
}
if (use_default_security)
cred->sec |= BIT(WIFI_SECURITY_NONE);
if (tb[CRED_D_BSTA]) {
struct uci_element *x;
Loading