summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7615/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-10-26 10:30:42 +0300
committerFelix Fietkau <nbd@nbd.name>2020-02-14 12:05:58 +0300
commitd446a20f5b0ca04cf79df617d5cebc3fb8aba904 (patch)
treecd8c0f91cbaa68b3f8c6c56cc3335426c290233c /drivers/net/wireless/mediatek/mt76/mt7615/main.c
parentfdd2e570764c28334fcc8728ecec8e401d04294b (diff)
downloadlinux-d446a20f5b0ca04cf79df617d5cebc3fb8aba904.tar.xz
mt76: mt7615: add multiple wiphy support for smart carrier sense
Use per-phy radio stats and tuning registers Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/main.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
index 839a6780474b..934eefe821e3 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
@@ -194,7 +194,7 @@ static int mt7615_set_channel(struct mt7615_phy *phy)
goto out;
ret = mt7615_dfs_init_radar_detector(dev);
- mt7615_mac_cca_stats_reset(dev);
+ mt7615_mac_cca_stats_reset(phy);
mt7615_mac_reset_counters(dev);