mt76x2u: init: remove not useful configuration
Subsystems (2)
PATCH 1/1 mt76x2u: init: remove not useful configuration
In reply to a message not in the archiveRemove 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 <[email protected]>
--- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 3 --- 1 file changed, 3 deletions(-)
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c +0 -3
@@ -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);
Signature · 1 line
2.17.2
Quoted 4 lines · Lorenzo Bianconi
Remove
MT_TSO_CTRLandMT_HEADER_TRANS_CTRL_REGinitialization since it is already done inmt76_write_mac_initvalsroutineSigned-off-by Lorenzo Bianconi <[email protected]>
Applied, thanks.
- Felix