From: Benoit Papillault Date: Fri, 11 Dec 2009 23:22:35 +0000 (+0100) Subject: ath9k: Last fix for TX software padding. X-Git-Tag: v2.6.33-rc3~44^2~31^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d91f9f3730d6d82a3ba67cae215a1823ba6a191;p=pandora-kernel.git ath9k: Last fix for TX software padding. First, we copy/paste the padding stuff from ath9k_tx to ath_tx_cabq since it needs to same kind of padding, but for internally generated beacons. Next, software padding done on TX needs to be removed before calling ieee80211_tx_status. The code was already there in ath_tx_complete but it was wrong. Fix it by using ath9k_cmn_padpos. This later code has been tested by sending packets to a monitor interface and reading packets from the same interface. Signed-off-by: Benoit PAPILLAULT Signed-off-by: John W. Linville --- Reading git-diff-tree failed