Gertjan van Wingerde 77e73d1849 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>
2009-12-21 18:56:30 -05:00
..
2009-12-21 18:39:05 -05:00
2009-11-19 11:08:50 -05:00
2009-12-21 18:56:30 -05:00
2009-12-21 18:56:02 -05:00
2009-11-28 18:03:14 +01:00
2009-12-04 13:30:40 -05:00
2009-11-11 15:23:49 -05:00
2009-10-30 16:50:38 -04:00
2009-10-30 16:50:34 -04:00
2009-11-11 15:23:54 -05:00