mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02: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