From: Malcolm Priestley Date: Sat, 22 Mar 2014 09:01:25 +0000 (+0000) Subject: staging: vt6656: rxtx: s_vFillTxKey Fix base type pdwExtIV X-Git-Tag: next-20140428~14^2~266 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2fbb230c8a488f7e0d9f5328fd11770702b8ddf4;p=karo-tx-linux.git staging: vt6656: rxtx: s_vFillTxKey Fix base type pdwExtIV Use base type to __le32. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index f2f96ee35073..43e13e2766ed 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -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;