Home
last modified time | relevance | path

Searched hist:"84 b00607aeb8f139a11c93036e1c0ee03dde5634" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mac80211/
H A Dsta_info.cdiff 84b00607aeb8f139a11c93036e1c0ee03dde5634 Wed Sep 30 06:26:36 CDT 2015 Arnd Bergmann <arnd@arndb.de> 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>