Skip to content
Commit 59b55d06 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: mt76x02: only override control->sta on sw-encrypted tx



control->sta is set to NULL early when encryption is turned on for the
station and info->control.hw_key is not set.
This code is missing a check for the 802.11 header protected flag, otherwise
it resets the station for other frames, e.g. client probing frames.

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 65b526a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment