Re: rt2x00: use monotonic timestamps for frame dump

2017-11-09 Thread Kalle Valo
way > out here; anyone using the frame dump feature can probably work out > the differences here. > > Signed-off-by: Arnd Bergmann Patch applied to wireless-drivers-next.git, thanks. f87eba996bac rt2x00: use monotonic timestamps for frame dump -- https://patchwork.ker

[PATCH] rt2x00: use monotonic timestamps for frame dump

2017-11-06 Thread Arnd Bergmann
rt2x00 uses the deprecated do_gettimeofday() function to get a timestamp for its debugfs "dump" file interface. The timestamp is using an unsigned 32-bit value, so we could make it work until 2106 by using ktime_get_real_ts64(), but it seems better to use monotonic times, as we normally want for t