mt76: mt7663u: fix dma header initialization
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 24 Aug 2020 18:55:12 +0000 (20:55 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:15 +0000 (18:10 +0200)
commit8da40d698111ad27b03afc40d67843e3073395e7
tree27b2c8438e8991a087196c610cd032349777e3f3
parentce8463a726a5669b200a1c2c17f95bc1394cc6bf
mt76: mt7663u: fix dma header initialization

Fix length field corruption in usb dma header introduced adding sdio
support

Fixes: 75b10f0cbd0b ("mt76: mt76u: add mt76_skb_adjust_pad utility routine")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c
drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c