mt76x0: init: remove unnecessary configurations
Remove leftover configuration for legacy devices in mt76x0_init_mac_registers routine. Moreover remove unnecessary msleep delay Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
c4ed5088e4
commit
5e6c49eca9
@ -172,12 +172,6 @@ static void mt76x0_init_mac_registers(struct mt76x0_dev *dev)
|
|||||||
reg &= ~0x000003FF;
|
reg &= ~0x000003FF;
|
||||||
reg |= 0x00000201;
|
reg |= 0x00000201;
|
||||||
mt76_wr(dev, MT_WMM_CTRL, reg);
|
mt76_wr(dev, MT_WMM_CTRL, reg);
|
||||||
|
|
||||||
/* TODO: Probably not needed */
|
|
||||||
mt76_wr(dev, 0x7028, 0);
|
|
||||||
mt76_wr(dev, 0x7010, 0);
|
|
||||||
mt76_wr(dev, 0x7024, 0);
|
|
||||||
msleep(10);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mt76x0_init_wcid_mem(struct mt76x0_dev *dev)
|
static int mt76x0_init_wcid_mem(struct mt76x0_dev *dev)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user