diff options
| author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-11-11 16:07:57 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:21 -0800 |
| commit | 77114d247c1e4b7f14ca5ffec27d49e9ec95d90a (patch) | |
| tree | e15b07e1af53840a9aeeef95e6c1c8cc0ad623e2 /include/linux | |
| parent | 2e75b5b00bb60311a16752e59fe9638ac5080ce9 (diff) | |
| download | lwn-77114d247c1e4b7f14ca5ffec27d49e9ec95d90a.tar.gz lwn-77114d247c1e4b7f14ca5ffec27d49e9ec95d90a.zip | |
staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer.
commit 70e227790d4ee4590023d8041a3485f8053593fc upstream.
The timer appears to run too fast/race on 64 bit systems.
Using msecs_to_jiffies seems to cause a deadlock on 64 bit.
A calculation of (MSecond * HZ) / 1000 appears to run satisfactory.
Change BSSIDInfoCount to u32.
After this patch the driver can be successfully connect on little endian 64/32 bit systems.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
