mt76: mt76x02: skip station tx status for non-sta wcid entries
authorFelix Fietkau <nbd@nbd.name>
Thu, 25 Oct 2018 12:23:13 +0000 (14:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:42 +0000 (12:21 +0100)
commit65b526a108264aeac769ec82cf33e5f966c9a1df
treeafb2c4c6e48952b9f70e866c64ee309dd55af07c
parent1a4846fcfed6d7cf902719ad0cd1fe8eaf7b3f91
mt76: mt76x02: skip station tx status for non-sta wcid entries

Fixes a crash that could occur if a frame is sent to a station, but the
station's wcid was not used (e.g. for software encrypted mgmt tx)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c