summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-10-25 17:40:06 +0200
committerFelix Fietkau <nbd@nbd.name>2018-11-30 12:21:42 +0100
commit59b55d066ff625f8613c563bd2ed705bce412fa8 (patch)
treec1a3af1480f7f56c96c1487d7c4234fd5f6585d5 /drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c
parent65b526a108264aeac769ec82cf33e5f966c9a1df (diff)
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/net/wireless/mediatek/mt76/mt76x02_usb_core.c')
0 files changed, 0 insertions, 0 deletions