Only schedule a trickle interval doubling for running timers
This commit is contained in:
parent
fa7219d0b8
commit
995a9c92d9
|
@ -276,7 +276,9 @@ fire(void *ptr)
|
|||
loctt->cb(loctt->cb_arg, TRICKLE_TIMER_PROTO_TX_ALLOW(loctt));
|
||||
}
|
||||
|
||||
if(trickle_timer_is_running(loctt)) {
|
||||
schedule_for_end(loctt);
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* New trickle interval, either due to a newly set trickle timer or due to an
|
||||
|
|
Loading…
Reference in a new issue