From: Bob Copeland Date: Fri, 19 Dec 2008 04:23:05 +0000 (-0500) Subject: ath5k: correct packet length in tx descriptors X-Git-Tag: v2.6.29-rc1~581^2~105^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd6effcaf8a894c0a0f602b943dbc54a170d4418;p=pandora-kernel.git ath5k: correct packet length in tx descriptors Packet length calculation (which includes frame check sequence) should take into account whether we add a pad field or not. Extract the calculation into a helper and use it in both places. Changes to desc.c Changes-licensed-under: ISC Changes to ath5k.h, base.c Changes-licensed-under: 3-Clause-BSD Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed