Commit e848013d authored by Omar Kallel's avatar Omar Kallel

Ticket refs #2518: icwmp: periodic session doesn't work after add_object

parent d0eae460
Pipeline #1316 passed with stage
in 17 seconds
......@@ -51,8 +51,9 @@ icwmpd_LDADD = \
$(LBLOBMSG_LIBS) \
$(LIBZ_LIBS) \
$(LIBM_LIBS) \
-lbbfdm
-lbbfdm \
-lbbf_api
icwmpd_CFLAGS+=-DCWMP_VERSION=\"$(CWMP_VERSION)\"
icwmpd_LDFLAGS+=-DCWMP_VERSION=\"$(CWMP_VERSION)\"
......
......@@ -33,6 +33,7 @@
#else
#include <libbbfdm/dmentry.h>
#include <libbbfdm/deviceinfo.h>
#include <libbbf_api/dmbbf.h>
#endif
LIST_HEAD(list_value_change);
......@@ -382,12 +383,7 @@ void cwmp_add_notification(void)
}
fclose(fp);
#ifdef TR098
list_for_each_entry(p, &list_enabled_lw_notify, list) {
#else
struct list_head bbf_list_enabled_lw_notify = get_bbf_list_enabled_lw_notify();
list_for_each_entry(p, &bbf_list_enabled_lw_notify, list) {
#endif
if (!initiate || i != 0)
dm_ctx_init_sub(&dmctx, DM_CWMP, cwmp_main.conf.amd_version, cwmp_main.conf.instance_mode);
i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment