diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-10-25 18:40:06 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 14:21:42 +0300 |
commit | 59b55d066ff625f8613c563bd2ed705bce412fa8 (patch) | |
tree | c1a3af1480f7f56c96c1487d7c4234fd5f6585d5 /drivers/slimbus | |
parent | 65b526a108264aeac769ec82cf33e5f966c9a1df (diff) | |
download | linux-59b55d066ff625f8613c563bd2ed705bce412fa8.tar.xz |
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: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions