Skip to content

Commit

Permalink
Changes to delay SYNC notification
Browse files Browse the repository at this point in the history
  • Loading branch information
harnishypatel authored and sadhyama committed Sep 22, 2023
1 parent 4c38e67 commit 6c33cbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/broadband/webpa_notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,9 @@ void processNotification(NotifyData *notifyData)
cJSON_AddNumberToObject(notifyPayload, "cmc", cmc);
cJSON_AddStringToObject(notifyPayload, "cid", cid);
OnboardLog("%s/%d/%s\n",dest,cmc,cid);
//Added delay of 5s to fix wifi captive portal issue where sync notifications are sent before wifi updates the parameter values in device DB
WalInfo("Sleeping for 5 sec before sending SYNC_NOTIFICATION\n");
sleep(5);
}
break;

Expand Down

0 comments on commit 6c33cbf

Please sign in to comment.