diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-02-03 13:39:31 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-02-03 16:15:05 +0100 |
commit | 2c86f6752046da72b1643c5647dabff82db407a2 (patch) | |
tree | 18fa589fdc0744fd812b02c65da8407432ea3d96 /drivers/net/wireless/mediatek/mt76/mt7615/init.c | |
parent | 3f3064486b1a5444e3f00de13eb758edffa3a5c1 (diff) | |
download | linux-stable-2c86f6752046da72b1643c5647dabff82db407a2.tar.gz linux-stable-2c86f6752046da72b1643c5647dabff82db407a2.tar.bz2 linux-stable-2c86f6752046da72b1643c5647dabff82db407a2.zip |
mt76: mt7615: fix/rewrite the dfs state handling logic
Copy the updated logic from mt7915 to to fix issues in handling DFS radar
detector states
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/init.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c index a753c7476d31..a06dcbb8c673 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c @@ -552,7 +552,6 @@ void mt7615_init_device(struct mt7615_dev *dev) dev->pm.stats.last_wake_event = jiffies; dev->pm.stats.last_doze_event = jiffies; mt7615_cap_dbdc_disable(dev); - dev->phy.dfs_state = -1; #ifdef CONFIG_NL80211_TESTMODE dev->mt76.test_ops = &mt7615_testmode_ops; |