p54: crypto offload fixes
authorChristian Lamparter <chunkeey@web.de>
Sat, 20 Dec 2008 01:21:37 +0000 (02:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:52 +0000 (14:24 -0500)
commitc1d34c1dad76be6d515ef33e24eb92f10547b08b
tree65412ed008bf4558a87c87d3c9b0e6a7224ef127
parent706ea9b66935e341b063d860c9c8f279b37b5578
p54: crypto offload fixes

This patch fixes two small flaws:
 - restore the original TKIP IV if we altered it.
 - reserve & initialize ICV with zeros.
   This is actually only necessary for some obsolete p54usb firmwares.
   But we don't know yet, if all devices are compatible with the new revisions.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c