From: Ivo van Doorn Date: Tue, 2 Dec 2008 17:19:48 +0000 (+0100) Subject: rt2x00: Optimize IV/EIV handling X-Git-Tag: v2.6.29-rc1~581^2~305^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce9cdac482f0dfbbd22ba4b3e5c016a05543a42;p=pandora-kernel.git rt2x00: Optimize IV/EIV handling IV and EIV belong to eachother and don't require 2 seperate fields. Instead they can logically be merged into a single array with size 2. With this approach we can simplify the code in rt2x00crypto.c by using a single memcpy() when copying the iv/eiv data. Additionally we can move some code out of if-statements because the if-statement would always be true. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed