mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Just because the timecounter reads the same value on two samples
after each other doesn't mean that nothing happened.
This commit is contained in:
parent
302799e4e8
commit
1e0e79c993
1 changed files with 0 additions and 4 deletions
|
|
@ -670,10 +670,6 @@ pps_event(struct pps_state *pps, int event)
|
|||
return;
|
||||
}
|
||||
|
||||
/* Return if nothing really happened. */
|
||||
if (*pcount == pps->capcount)
|
||||
return;
|
||||
|
||||
/* Convert the count to a timespec. */
|
||||
tcount = pps->capcount - pps->capth->th_offset_count;
|
||||
tcount &= pps->capth->th_counter->tc_counter_mask;
|
||||
|
|
|
|||
Loading…
Reference in a new issue