mt76: mt7915: fix tx skb dma unmap
authorFelix Fietkau <nbd@nbd.name>
Sat, 13 Feb 2021 17:44:10 +0000 (18:44 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 16:50:38 +0000 (18:50 +0200)
commit7dcf3c04f0aca746517a77433b33d40868ca4749
tree5d0f6b19588c69a6aa5bb24571af30305713fb09
parentebee7885bb12a8fe2c2f9bac87dbd87a05b645f9
mt76: mt7915: fix tx skb dma unmap

The first pointer in the txp needs to be unmapped as well, otherwise it will
leak DMA mapping entries

Reported-by: Ben Greear <greearb@candelatech.com>
Fixes: 27d5c528a7ca ("mt76: fix double DMA unmap of the first buffer on 7615/7915")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c