Fix last run time update for timer wheel

Change-Id: I9ac04b15440297c154ed1e3fba888915044cb245
Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:
Florin Coras
2017-02-21 19:26:51 -08:00
committed by Dave Barach
parent d45602078d
commit 954898f945

View File

@ -337,7 +337,7 @@ u32 TW (tw_timer_expire_timers) (TWT (tw_timer_wheel) * tw, f64 now)
break;
}
tw->last_run_time += i * tw->ticks_per_second;
tw->last_run_time += i * tw->timer_interval;
return total_nexpirations;
}