Skip to content
Snippets Groups Projects
Commit 65c01646 authored by Janusz Dziedzic's avatar Janusz Dziedzic
Browse files

FHs set wps_cred_add_sae

parent 91207a31
No related branches found
No related tags found
1 merge request!446FHs set wps_cred_add_sae
Pipeline #113852 passed
...@@ -1234,9 +1234,19 @@ int uci_apply_m2(struct agent_config *cfg, char *interface_name, char *device, ...@@ -1234,9 +1234,19 @@ int uci_apply_m2(struct agent_config *cfg, char *interface_name, char *device,
UCI_WLAN_IFACE, "ifname", interface_name, UCI_WLAN_IFACE, "ifname", interface_name,
"wps_pushbutton", "1"); "wps_pushbutton", "1");
} }
if (wifi_get_section_option(UCI_WIRELESS, UCI_WLAN_IFACE,
"ifname", interface_name,
"wps_cred_add_sae", buf,
sizeof(buf))) {
uci_set_wireless_interface_option(UCI_WIRELESS,
UCI_WLAN_IFACE, "ifname", interface_name,
"wps_cred_add_sae", "1");
} }
} }
}
uci_set_wireless_interface_option(UCI_WIRELESS, UCI_WLAN_IFACE, "ifname", uci_set_wireless_interface_option(UCI_WIRELESS, UCI_WLAN_IFACE, "ifname",
interface_name, "network", bridge); interface_name, "network", bridge);
uci_set_wireless_interface_option(UCI_WIRELESS, UCI_WLAN_IFACE, "ifname", uci_set_wireless_interface_option(UCI_WIRELESS, UCI_WLAN_IFACE, "ifname",
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment