Closed meijkl closed 4 years ago
Hi whitebatman2,
"get_monotonic_boottime(&ts)" is deprecated in kernel 4.20. See https://www.kernel.org/doc/html/latest/core-api/timekeeping.html "Deprecated time interfaces".
In "ioctl_cfg80211.c" I've replaced:
struct timespec ts; get_monotonic_boottime(&ts);
with:
struct timespec64 ts; ktime_get_boottime_ts64(&ts);
Then the DKMS module compiles properly!
Please could you adapt the code accordingly.
Best Klaus
Hi whitebatman2,
"get_monotonic_boottime(&ts)" is deprecated in kernel 4.20. See https://www.kernel.org/doc/html/latest/core-api/timekeeping.html "Deprecated time interfaces".
In "ioctl_cfg80211.c" I've replaced:
with:
Then the DKMS module compiles properly!
Please could you adapt the code accordingly.
Best Klaus