mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-02-12 11:00:18 +01:00
Fix session cookies issue
This commit is contained in:
parent
34b11c03cb
commit
b6d8e31ddc
1 changed files with 5 additions and 2 deletions
7
cwmp.c
7
cwmp.c
|
|
@ -175,7 +175,9 @@ void cwmp_schedule_session (struct cwmp *cwmp)
|
|||
}
|
||||
|
||||
session = list_entry(ilist, struct session, list);
|
||||
|
||||
cwmp_add_notification_min();
|
||||
if (access(fc_cookies, F_OK) != -1)
|
||||
remove(fc_cookies);
|
||||
cwmp_prepare_value_change(cwmp, session);
|
||||
|
||||
if (error = cwmp_move_session_to_session_send (cwmp, session))
|
||||
|
|
@ -187,7 +189,8 @@ void cwmp_schedule_session (struct cwmp *cwmp)
|
|||
cwmp->session_status.last_start_time = time(NULL);
|
||||
cwmp->session_status.last_status = SESSION_RUNNING;
|
||||
cwmp->session_status.next_retry = 0;
|
||||
cwmp_add_notification_min();
|
||||
|
||||
|
||||
CWMP_LOG (INFO,"Start session");
|
||||
uci_get_value(UCI_CPE_EXEC_DOWNLOAD, &exec_download);
|
||||
if(strcmp(exec_download, "1") == 0){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue