mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-26 12:29:31 +07: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:
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 -
|
/* Add the length of A-MSDU subframe padding bytes -
|
||||||
* Round to nearest word.
|
* 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;
|
framep += frame_8023_len;
|
||||||
amsdu_len -= frame_8023_len;
|
amsdu_len -= frame_8023_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user