diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-11-11 15:53:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 20:51:31 (GMT) |
commit | d5bbef7c94d1f29aeef4cfcd801245a156a67e95 (patch) | |
tree | d32dffdec35000586ed33c4bbfe67f2ab564a8cc /drivers/staging/vt6656 | |
parent | c0d05b305b00c698b0a8c1b3d46c9380bce9db45 (diff) | |
download | linux-d5bbef7c94d1f29aeef4cfcd801245a156a67e95.tar.xz |
staging: vt6656: 64 bit fixes pdwIV is now u32
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/rxtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index cd9debc..83c04e1 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -355,7 +355,7 @@ s_vFillTxKey ( } // Append IV after Mac Header *pdwIV &= WEP_IV_MASK;//00000000 11111111 11111111 11111111 - *pdwIV |= (unsigned long)pDevice->byKeyIndex << 30; + *pdwIV |= (u32)pDevice->byKeyIndex << 30; *pdwIV = cpu_to_le32(*pdwIV); pDevice->dwIVCounter++; if (pDevice->dwIVCounter > WEP_IV_MASK) { |