mt76: mt7921: fix typo in mt7921_pci_resume

Return proper error code from mt7921_mcu_drv_pmctrl in mt7921_pci_resume
routine.

Fixes: 8db9c79f230d6 ("mt76: mt7921: fix suspend/resume sequence")
Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2021-04-01 21:27:47 +02:00
committed by Felix Fietkau
parent 113ba8a81d
commit be1ab3b9ae
+1 -1
View File
@@ -245,7 +245,7 @@ static int mt7921_pci_resume(struct pci_dev *pdev)
err = mt7921_mcu_drv_pmctrl(dev);
if (err < 0)
return 0;
return err;
/* enable interrupt */
mt76_wr(dev, MT_PCIE_MAC_INT_ENABLE, 0xff);