p54: more cryptographic accelerator fixes
authorChristian Lamparter <chunkeey@web.de>
Mon, 19 Jan 2009 15:08:48 +0000 (16:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Jan 2009 18:55:02 +0000 (13:55 -0500)
commit12da401e0d616f738c8b8a368d1f63f365cc78e4
tree9b9dcd6fad15713f7aaf98e835ad58b7096b10e5
parent40ab73cc6c38ce93253fe8c2d7e502c948adfd13
p54: more cryptographic accelerator fixes

If we let the firmware do the data encryption, we have to remove the ICV and
(M)MIC at the end of the frame before we can give it back to mac80211.
Or, these data frames have a few trailing bytes on cooked monitor interfaces.

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