diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-05-11 12:17:52 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-06-25 12:55:27 +0200 |
commit | 842481434261e8fef7a9633f526eee4ed90db23e (patch) | |
tree | 325c2fb18b72eefb6cc80d642d5a58664f3e1d75 | |
parent | a78f15471c068f594a3617596f1ba12f2bddbd6e (diff) | |
download | lwn-842481434261e8fef7a9633f526eee4ed90db23e.tar.gz lwn-842481434261e8fef7a9633f526eee4ed90db23e.zip |
mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel
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>
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c index 6657693edc3e..3351b736603d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c @@ -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); |