mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 03:26:05 +07:00
mt76: mt7615: disable DBDC on MT7622
It is only supported on MT7615 Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
8c90c2253e
commit
eacf611012
@ -383,6 +383,9 @@ int mt7615_register_ext_phy(struct mt7615_dev *dev)
|
||||
struct mt76_phy *mphy;
|
||||
int ret;
|
||||
|
||||
if (!is_mt7615(&dev->mt76))
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state))
|
||||
return -EINVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user