diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2009-12-04 23:47:01 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-21 18:56:30 -0500 |
commit | 77e73d1849c860d22ebba8826ad162ccfda4c535 (patch) | |
tree | a4e238c8dd4f2e1c813619f092eca1668b947815 /drivers/net/wireless/hostap/hostap_ioctl.c | |
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>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ioctl.c')
0 files changed, 0 insertions, 0 deletions