Skip to content

Commit b24c005

Browse files
RDKBDEV-3369:Fix TR069 repeat M Reboot in ACS reboot long run
Reason for change: Sometimes TR069 sends repeat M Reboot in ACS reboot longrun Test Procedure: 1. connect to acs 2. do reboot when ACS receive "1 Boot + M Reboot" 3. check CPE send inform with only one M Reboot + 1 Boot Risks: Low Signed-off-by: Owen Lu <owen_lu@sercomm.com>
1 parent efe21dc commit b24c005

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source-embedded/CcspCwmpSession/ccsp_cwmp_sesso_management.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ CcspCwmpsoAddCwmpEvent
173173
ERR_CHK(rc);
174174
if((rc == EOK) && (!ind))
175175
{
176-
if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey))
176+
if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey) ||
177+
(!strlen(pCcspCwmpEvent->CommandKey) && !strlen(pCcspCwmpEventExist->CommandKey)))
177178
{
178179
check = TRUE;
179180
}

0 commit comments

Comments
 (0)