Skip to content
Snippets Groups Projects
Unverified Commit c2617b6e authored by George Oikonomou's avatar George Oikonomou Committed by GitHub
Browse files

Merge pull request #963 from atiselsts/bugfix/tsch-packet-burst

TSCH: fix the reselection of the current_link in case it becomes NULL during a packet burst
parents f4f5bd7f c3239f17
No related branches found
No related tags found
No related merge requests found
...@@ -1083,7 +1083,7 @@ PT_THREAD(tsch_slot_operation(struct rtimer *t, void *ptr)) ...@@ -1083,7 +1083,7 @@ PT_THREAD(tsch_slot_operation(struct rtimer *t, void *ptr))
/* A burst link was scheduled. Replay the current link at the /* A burst link was scheduled. Replay the current link at the
next time offset */ next time offset */
if(burst_link_scheduled) { if(burst_link_scheduled && current_link != NULL) {
timeslot_diff = 1; timeslot_diff = 1;
backup_link = NULL; backup_link = NULL;
/* Keep track of the number of repetitions */ /* Keep track of the number of repetitions */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment