]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: fix TSF calculation
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 16 Jun 2012 19:26:46 +0000 (22:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:10:24 +0000 (14:10 -0400)
commit0f86a52a6dbcdf06208788ef4f3f925f2271ebc6
tree1b19160a2c1de90d6f6b7900a0fc06b6d824799b
parentd2859adc537a6c5a54b6d48de8164f20e270523f
wl1251: fix TSF calculation

Cast MSB part of current TSF to u64 to prevent loss of most
significant bits. MSB should also be shifted by 32.

Patch based on old maemo patch by:
Yuri Kululin <ext-yuri.kululin@nokia.com>
Yuri Ershov <ext-yuri.ershov@nokia.com>

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/acx.c