mt76: mt7915: fix potential NPE in TXS processing
authorBen Greear <greearb@candelatech.com>
Thu, 19 Aug 2021 20:49:43 +0000 (13:49 -0700)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:36 +0000 (10:36 +0200)
commit16bab114895ea574de8432a0e5f838af037b66ba
treee190305765fa9343b1126f3bd9eda54accf039cb
parente63db6d35f79c1434139db103e6373500da253cf
mt76: mt7915: fix potential NPE in TXS processing

If skb is null, then don't try to dereference it.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c