mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
mt76: mt7663: disable RDD commands
Disable dfs RDD mcu commands for mt7663 driver since they are not currently supported by the 7663 firmware Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
594034b788
commit
02c655919c
|
|
@ -2047,6 +2047,9 @@ int mt7615_dfs_init_radar_detector(struct mt7615_phy *phy)
|
|||
bool ext_phy = phy != &dev->phy;
|
||||
int err;
|
||||
|
||||
if (is_mt7663(&dev->mt76))
|
||||
return 0;
|
||||
|
||||
if (dev->mt76.region == NL80211_DFS_UNSET) {
|
||||
phy->dfs_state = -1;
|
||||
if (phy->rdd_state)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user