From: Gertjan van Wingerde Date: Fri, 4 Dec 2009 22:47:01 +0000 (+0100) Subject: rt2x00: Further L2 padding fixes. X-Git-Tag: v2.6.34-rc1~233^2~705^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77e73d1849c860d22ebba8826ad162ccfda4c535;p=pandora-kernel.git rt2x00: Further L2 padding fixes. Fix a couple of more bugs in the L2 padding code: 1. Compute the amount of L2 padding correctly (in 3 places). 2. Trim the skb correctly when the L2 padding has been applied. Also introduce a central macro the compute the L2 padding size. Signed-off-by: Gertjan van Wingerde Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed