Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
platform_uci: commit UCI prplmesh after setting configured
Browse files Browse the repository at this point in the history
  • Loading branch information
arnout committed Jan 8, 2019
1 parent 5fedfd1 commit 56f2c35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/linux/platform_uci.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ static void uci_set_configured(bool configured)
blobmsg_add_string(&b, "configured", configured ? "1" : "0");
blobmsg_close_table(&b, values);
uci_invoke("set", &b);
blob_buf_init(&b, 0);
blobmsg_add_string(&b, "config", "prplmesh");
uci_invoke("commit", &b);

uci_commit_wireless();

Expand Down

0 comments on commit 56f2c35

Please sign in to comment.