]> 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)
commit9c3206d15683e95e2939dec1cd053bac3173c8f2
tree1b19160a2c1de90d6f6b7900a0fc06b6d824799b
parentbaee28eab7fb4d79f3362a303d0803f808ceb140
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