diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-30 13:26:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 03:16:45 -0700 |
commit | 84b00607aeb8f139a11c93036e1c0ee03dde5634 (patch) | |
tree | 4ae140cdf9cbc9026e9cd2987dea1bf29c3c57be /net/mac80211/mesh_plink.c | |
parent | 52f4f91893955c359885d022b2142e2326f020a1 (diff) | |
download | op-kernel-dev-84b00607aeb8f139a11c93036e1c0ee03dde5634.zip op-kernel-dev-84b00607aeb8f139a11c93036e1c0ee03dde5634.tar.gz |
mac80211: use ktime_get_seconds
The mac80211 code uses ktime_get_ts to measure the connected time.
As this uses monotonic time, it is y2038 safe on 32-bit systems,
but we still want to deprecate the use of 'timespec' because most
other users are broken.
This changes the code to use ktime_get_seconds() instead, which
avoids the timespec structure and is slightly more efficient.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
0 files changed, 0 insertions, 0 deletions