diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-30 13:26:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 03:16:43 -0700 |
commit | e253fb74d66428597bd272b2614e8564b882b14c (patch) | |
tree | 8b2379417dca92c3ba93a0c9e06278a8ac7d5a24 /lib/sort.c | |
parent | 40c9b0796d46523fffb93e46ed8c691456146743 (diff) |
mwifiex: use ktime_get_real for timestamping
The mwifiex_11n_aggregate_pkt() function creates a ktime_t from
a timeval returned by do_gettimeofday, which is slow and causes
an overflow in 2038 on 32-bit architectures.
This solves both problems by using the appropriate ktime_get_real()
function.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Cc: Nishant Sarmukadam <nishants@marvell.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions