ble_mesh: fix not restoring ble mesh cfg value
This commit is contained in:
parent
46a65a35d6
commit
673f58fe03
1 changed files with 1 additions and 0 deletions
|
@ -538,6 +538,7 @@ static int cfg_set(const char *name)
|
|||
return 0;
|
||||
}
|
||||
|
||||
memcpy(&stored_cfg.cfg, &val, sizeof(val));
|
||||
stored_cfg.valid = true;
|
||||
BT_DBG("Restore configuration state");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue