Merge pull request #882 from nfi/dao-lifetime-timer
Stop the DAO lifetime timer in RPL instances when released.
This commit is contained in:
commit
d0f475de85
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ rpl_free_instance(rpl_instance_t *instance)
|
||||||
|
|
||||||
ctimer_stop(&instance->dio_timer);
|
ctimer_stop(&instance->dio_timer);
|
||||||
ctimer_stop(&instance->dao_timer);
|
ctimer_stop(&instance->dao_timer);
|
||||||
|
ctimer_stop(&instance->dao_lifetime_timer);
|
||||||
|
|
||||||
if(default_instance == instance) {
|
if(default_instance == instance) {
|
||||||
default_instance = NULL;
|
default_instance = NULL;
|
||||||
|
|
Loading…
Reference in a new issue