mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 21:20:28 +01:00
Fix compilation issue
This commit is contained in:
parent
726af19833
commit
33106527ed
1 changed files with 1 additions and 4 deletions
|
|
@ -64,10 +64,7 @@ static bool is_update_process_allowed(void)
|
|||
char *tr069_status = NULL;
|
||||
|
||||
if (dmubus_object_exist("tr069")) {
|
||||
struct uci_section *s = NULL, *stmp = NULL;
|
||||
uci_path_foreach_sections_safe(varstate, "cwmp", "sess_status", stmp, s) {
|
||||
dmuci_get_value_by_section_string(s, "current_status", &tr069_status);
|
||||
}
|
||||
dmuci_get_option_value_string_varstate("cwmp", "sess_status", "current_status", &tr069_status);
|
||||
}
|
||||
|
||||
if (tr069_status == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue