Merge pull request #882 from nfi/dao-lifetime-timer

Stop the DAO lifetime timer in RPL instances when released.
This commit is contained in:
Adam Dunkels 2014-12-01 13:17:34 +01:00
commit d0f475de85

View File

@ -513,6 +513,7 @@ rpl_free_instance(rpl_instance_t *instance)
ctimer_stop(&instance->dio_timer);
ctimer_stop(&instance->dao_timer);
ctimer_stop(&instance->dao_lifetime_timer);
if(default_instance == instance) {
default_instance = NULL;