]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 11 May 2019 10:17:52 +0000 (12:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:27 +0000 (12:55 +0200)
Remove mt76x02_edcca_init in mt76x2u_set_channel since it is already
run by mt76x2u_phy_channel_calibrate performing channel calibration

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c

index 6657693edc3ec668dbbd6db3c3d75087f405ffdb..3351b736603db795ae75e4642db005d4659fb4e3 100644 (file)
@@ -59,7 +59,6 @@ mt76x2u_set_channel(struct mt76x02_dev *dev,
        err = mt76x2u_phy_set_channel(dev, chandef);
 
        mt76x2_mac_resume(dev);
-       mt76x02_edcca_init(dev);
 
        dev->beacon_ops->pre_tbtt_enable(dev, true);