commit | 77e73d1849c860d22ebba8826ad162ccfda4c535 | [log] [tgz] |
---|---|---|
author | Gertjan van Wingerde <gwingerde@gmail.com> | Fri Dec 04 23:47:01 2009 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 21 18:56:30 2009 -0500 |
tree | a4e238c8dd4f2e1c813619f092eca1668b947815 | |
parent | 1398d4580eff2656f3a808ec24744ce5a842db35 [diff] |
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 <gwingerde@gmail.com> Acked-by: Ivo van Doorn <ivdoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>