[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100109084405.GC7840@bicker>
Date: Sat, 9 Jan 2010 11:44:05 +0300
From: Dan Carpenter <error27@...il.com>
To: horms@...genet.net
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...e.de>,
Peter Huewe <PeterHuewe@....de>
Subject: [patch] otus: zfTkipInit(): increment another pointer
This applies on top of Simon Horman's patch set, particularly [patch 5/6].
Feel free to roll them into one and change the sign-off to yourself.
There was another pointer that needed to be incremented. Now all six
of the bytes are used.
Signed-off-by: Dan Carpenter <error27@...il.com>
--- orig/drivers/staging/otus/80211core/ctkip.c 2010-01-09 00:46:14.000000000 +0300
+++ devel/drivers/staging/otus/80211core/ctkip.c 2010-01-09 00:48:39.000000000 +0300
@@ -255,7 +255,8 @@ void zfTkipInit(u8_t* key, u8_t* ta, str
zfMemoryCopy(pSeed->ta, ta, 6);
zfMemoryCopy(pSeed->tk, key, 16);
- iv16 = *initIv++;
+ iv16 = *initIv;
+ initIv++;
iv16 += *initIv<<8;
initIv++;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists