From d0eb03e387834fd85b6562d64049070a1ae3c8ce Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Mon, 29 Oct 2018 15:12:22 +0100 Subject: [PATCH] mt76x2u: init: remove not useful configuration Remove MT_TSO_CTRL and MT_HEADER_TRANS_CTRL_REG initialization since it is already done in mt76_write_mac_initvals routine Signed-off-by: Lorenzo Bianconi --- mt76x2/usb_init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mt76x2/usb_init.c b/mt76x2/usb_init.c index a7d59161..c338ac04 100644 --- a/mt76x2/usb_init.c +++ b/mt76x2/usb_init.c @@ -191,9 +191,6 @@ int mt76x2u_init_hardware(struct mt76x02_dev *dev) if (!mt76x02_wait_for_mac(&dev->mt76)) return -ETIMEDOUT; - mt76_wr(dev, MT_HEADER_TRANS_CTRL_REG, 0); - mt76_wr(dev, MT_TSO_CTRL, 0); - mt76x2u_init_dma(dev); err = mt76x2u_mcu_init(dev);