Skip to content

Commit

Permalink
staging: vt6656: 64 bit fixes pdwIV is now u32
Browse files Browse the repository at this point in the history
 Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent c0d05b3 commit d5bbef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d5bbef7

Please sign in to comment.