From: Benoit PAPILLAULT Date: Fri, 12 Dec 2008 14:29:58 +0000 (+0100) Subject: ath5k: fix 802.11 header padding on RX, unpadding on TX X-Git-Tag: v2.6.29-rc1~581^2~105^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe45b1debba7302155b62f3829119a1185a4f5a;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed