RE: [PATCH 04/12] mwifiex: use ktime_get_real for timestamping

2015-10-09 Thread Amitkumar Karwar
gt; linux-wireless@vger.kernel.org > Subject: [PATCH 04/12] 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. >

[PATCH 04/12] mwifiex: use ktime_get_real for timestamping

2015-09-30 Thread Arnd Bergmann
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