mt76: mt7615: disable DBDC on MT7622

It is only supported on MT7615

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-01-30 14:04:38 +01:00
parent bddcbb25cd
commit 6cd5c381ea
+3
View File
@@ -389,6 +389,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;