summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDeren Wu <deren.wu@mediatek.com>2025-05-25 09:11:22 +0300
committerFelix Fietkau <nbd@nbd.name>2025-07-07 18:42:20 +0300
commit7035a082348acf1d43ffb9ff735899f8e3863f8f (patch)
tree020b610f2a4598496e8c5ef7dbad6b0696b3e3b9 /scripts/patch-kernel
parent35ad47c0b3da04b00b19a8b9ed5632e2f2520472 (diff)
downloadlinux-7035a082348acf1d43ffb9ff735899f8e3863f8f.tar.xz
wifi: mt76: mt7921: prevent decap offload config before STA initialization
The decap offload configuration should only be applied after the STA has been successfully initialized. Attempting to configure it earlier can lead to corruption of the MAC configuration in the chip's hardware state. Add an early check for `msta->deflink.wcid.sta` to ensure the station peer is properly initialized before proceeding with decapsulation offload configuration. Cc: stable@vger.kernel.org Fixes: 24299fc869f7 ("mt76: mt7921: enable rx header traslation offload") Signed-off-by: Deren Wu <deren.wu@mediatek.com> Link: https://patch.msgid.link/f23a72ba7a3c1ad38ba9e13bb54ef21d6ef44ffb.1748149855.git.deren.wu@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions