From e4f9a1aae207c057d66a2d0c1ebcce0fd358e31a Mon Sep 17 00:00:00 2001 From: suvendhu Date: Thu, 20 Oct 2022 16:13:03 +0530 Subject: [PATCH] Fix active notification send on value change --- src/notifications.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/notifications.c b/src/notifications.c index 592ed6c..0b40fb6 100644 --- a/src/notifications.c +++ b/src/notifications.c @@ -648,8 +648,11 @@ void periodic_check_notifiy(struct uloop_timeout *timeout __attribute__((unused is_notify = check_value_change(); if (is_notify > 0) cwmp_update_enabled_notify_file(); - if (is_notify & NOTIF_ACTIVE) + if (is_notify & NOTIF_ACTIVE) { send_active_value_change(); + trigger_cwmp_session_timer(); + } + if (is_notify & NOTIF_LW_ACTIVE) cwmp_lwnotification();