projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0d05b3
)
staging: vt6656: 64 bit fixes pdwIV is now u32
author
Malcolm Priestley
<tvboxspy@gmail.com>
Sun, 11 Nov 2012 15:53:14 +0000
(15:53 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 20:51:31 +0000
(12:51 -0800)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/rxtx.c
b/drivers/staging/vt6656/rxtx.c
index cd9debc2078674c02d7cd0f27f851ec8d8cba32d..83c04e120935f5a6c6fa7488ccabc75a58417cfc 100644
(file)
--- 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) {