From: Malcolm Priestley Date: Sun, 25 May 2014 20:36:28 +0000 (+0100) Subject: staging: vt6656: s_vFillTxKey fix indentation of memcpy X-Git-Tag: next-20140530~19^2~237 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5cb5bff703008c2a2dc2357ac660bcbf02796161;p=karo-tx-linux.git staging: vt6656: s_vFillTxKey fix indentation of memcpy 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 742559de64ec..f11c2d3b22c2 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -204,7 +204,7 @@ static void s_vFillTxKey(struct vnt_private *pDevice, pTransmitKey->uKeyLength); if (pTransmitKey->uKeyLength == WLAN_WEP40_KEYLEN) { memcpy(pbyBuf+8, (u8 *)&rev_iv_counter, 3); - memcpy(pbyBuf+11, pTransmitKey->abyKey, + memcpy(pbyBuf+11, pTransmitKey->abyKey, pTransmitKey->uKeyLength); }