diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-10-29 03:36:59 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 14:21:42 +0300 |
commit | 544f9a532f0ac3236dec903e1d0c3c5cc8bed919 (patch) | |
tree | 2c67f2eb2748c457142a995fc0b1a747b9e94d81 /drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | |
parent | 48c76588221b49e7d46e6f3c26bce0318fbea97a (diff) | |
download | linux-544f9a532f0ac3236dec903e1d0c3c5cc8bed919.tar.xz |
mt76x2: move wcid_tx_rate conf at bootstrap
Move WCID tx rate configuration at device bootstrap since
the related register are always set to 0
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_mac.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c b/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c index 90d24af7f6c8..59b336e34cb5 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c @@ -106,9 +106,6 @@ void mt76x02_mac_wcid_setup(struct mt76x02_dev *dev, u8 idx, mt76_wr(dev, MT_WCID_ATTR(idx), attr); - mt76_wr(dev, MT_WCID_TX_RATE(idx), 0); - mt76_wr(dev, MT_WCID_TX_RATE(idx) + 4, 0); - if (idx >= 128) return; |