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:
Felix Fietkau 2019-12-21 22:57:07 +01:00
parent 8c90c2253e
commit eacf611012

View File

@ -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;