Message ID | 3bb8b13686a6d3f62c4094385b24e38ac769a158.1663219683.git.objelf@gmail.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Delegated to: | Felix Fietkau |
Headers | show |
Series | [5.18] wifi: mt76: mt7921e: fix crash in chip reset fail | expand |
On Thu, Sep 15, 2022 at 01:32:10PM +0800, sean.wang@mediatek.com wrote: > From: Deren Wu <deren.wu@mediatek.com> > > commit fa3fbe64037839f448dc569212bafc5a495d8219 upstream. 5.18 is long end-of-life. Remember you can see what kernels are active on the front page of kernel.org thanks, greg k-h
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c index 5ca14dbbdd26..79ddab7e4f3e 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)