Message ID | 404d2f5ec663128342541fa392a47226a46e5634.1663219530.git.objelf@gmail.com |
---|---|
State | New |
Headers | show |
Series | [5.19] wifi: mt76: mt7921e: fix crash in chip reset fail | expand |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c index b0f58bcf70cb..106c88b723b9 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c @@ -345,7 +345,7 @@ int mt7921e_mac_reset(struct mt7921_dev *dev) err = mt7921e_driver_own(dev); if (err) - return err; + goto out; err = mt7921_run_firmware(dev); if (err)