mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 09:49:58 -04:00
ath6kl: Fix bug in computing AMSU subframe padding
This fixes AMSDU rx, otherwise it fails with the following warnings. "802.3 AMSDU frame bound check failed" Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
committed by
Kalle Valo
parent
594a0bc85e
commit
13e34ea1f4
@@ -812,7 +812,7 @@ static void aggr_slice_amsdu(struct aggr_info *p_aggr,
|
||||
/* Add the length of A-MSDU subframe padding bytes -
|
||||
* Round to nearest word.
|
||||
*/
|
||||
frame_8023_len = ALIGN(frame_8023_len + 3, 3);
|
||||
frame_8023_len = ALIGN(frame_8023_len, 4);
|
||||
|
||||
framep += frame_8023_len;
|
||||
amsdu_len -= frame_8023_len;
|
||||
|
||||
Reference in New Issue
Block a user