Fix transfer_complete event after vendor config download

This commit is contained in:
suvendhu 2022-03-31 13:18:07 +05:30 committed by Omar Kallel
parent 0a6d7f6ab4
commit 8a057ca1f5

View file

@ -327,6 +327,8 @@ int apply_downloaded_file(struct cwmp *cwmp, struct download *pdownload, char *d
cwmp_commit_package("cwmp", UCI_VARSTATE_CONFIG);
if (pdownload->file_type[0] == '3') {
CWMP_LOG(INFO, "Download and apply new vendor config file is done successfully");
cwmp_root_cause_transfer_complete(cwmp, ptransfer_complete);
bkp_session_delete_transfer_complete(ptransfer_complete);
}
return FAULT_CPE_NO_FAULT;
}