Skip to content
Snippets Groups Projects
Commit 296d49b4 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

config: write default_disabled 0 upon wps creds

parent af2ddff9
No related branches found
No related tags found
No related merge requests found
......@@ -414,6 +414,7 @@ int wifi_apply_iface_cfg(const char *ifname, const char *encryption,
set_value(ctx, pkg, section, "ssid", ssid, UCI_TYPE_STRING);
set_value(ctx, pkg, section, "key", key, UCI_TYPE_STRING);
set_value(ctx, pkg, section, "wds", "1", UCI_TYPE_STRING);
set_value(ctx, pkg, section, "default_disabled", "0", UCI_TYPE_STRING);
uci_commit(ctx, &pkg, false);
out_pkg:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment