mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
mt76: mt7615: disable DBDC on MT7622
It is only supported on MT7615 Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user