commit | 0fe45b1debba7302155b62f3829119a1185a4f5a | [log] [tgz] |
---|---|---|
author | Benoit PAPILLAULT <benoit.papillault@free.fr> | Fri Dec 12 15:29:58 2008 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Dec 19 15:23:07 2008 -0500 |
tree | c248895ecf387cabb1350ca327d382a306e6f0e3 | |
parent | baad1d921b1565b6f08f60c035531d13ad8afa82 [diff] |
ath5k: fix 802.11 header padding on RX, unpadding on TX Padding the 802.11 header to a multiple of 4 bytes needs to be done only for frames with a body. This fixes a bug where 2 bytes were missing in monitor mode for ACK frames. Inspired by a patch from Jouni Malinen on ath9k. Ref: http://bugzilla.kernel.org/show_bug.cgi?id=12101 : Signed-off-by: Benoit Papillault <benoit.papillault@free.fr> Signed-off-by: John W. Linville <linville@tuxdriver.com>