From 5cb5bff703008c2a2dc2357ac660bcbf02796161 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 25 May 2014 21:36:28 +0100 Subject: [PATCH] staging: vt6656: s_vFillTxKey fix indentation of memcpy Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }