summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_plink.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-30 13:26:36 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-05 03:16:45 -0700
commit84b00607aeb8f139a11c93036e1c0ee03dde5634 (patch)
tree4ae140cdf9cbc9026e9cd2987dea1bf29c3c57be /net/mac80211/mesh_plink.c
parent52f4f91893955c359885d022b2142e2326f020a1 (diff)
downloadop-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
OpenPOWER on IntegriCloud