Commit aa200c5d authored by Felix Fietkau's avatar Felix Fietkau Committed by Jialin Zhang
Browse files

wifi: mt76: fix reading current per-tid starting sequence number for aggregation

stable inclusion
from stable-v5.10.146
commit bd5958ccfc451d3b61c7eb305fd53d9728791f79
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0VX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bd5958ccfc451d3b61c7eb305fd53d9728791f79



--------------------------------

commit c3a510e2 upstream.

The code was accidentally shifting register values down by tid % 32 instead of
(tid * field_size) % 32.

Cc: stable@vger.kernel.org
Fixes: a28bef56 ("mt76: mt7615: re-enable offloading of sequence number assignment")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220826182329.18155-1-nbd@nbd.name


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 783d7d50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment