staging: vt6656: rxtx: s_vFillTxKey Fix base type pdwExtIV
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 22 Mar 2014 09:01:25 +0000 (09:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:05:28 +0000 (16:05 -0700)
Use base type to __le32.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index f2f96ee3507380884c04b0f6aaf7d61d5eed8128..43e13e2766ed34eb9ef795b841598af63c77c841 100644 (file)
@@ -182,7 +182,7 @@ static void s_vFillTxKey(struct vnt_private *pDevice,
 {
        u8 *pbyBuf = (u8 *)&fifo_head->adwTxKey[0];
        __le32 *pdwIV = (__le32 *)pbyIVHead;
-       u32 *pdwExtIV = (u32 *)((u8 *)pbyIVHead + 4);
+       __le32 *pdwExtIV = (__le32 *)((u8 *)pbyIVHead + 4);
        struct ieee80211_hdr *pMACHeader = (struct ieee80211_hdr *)pbyHdrBuf;
        __le32 rev_iv_counter;