Message ID | 404d2f5ec663128342541fa392a47226a46e5634.1663219530.git.objelf@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [5.19] wifi: mt76: mt7921e: fix crash in chip reset fail | expand |
On Thu, Sep 15, 2022 at 01:32:35PM +0800, sean.wang@mediatek.com wrote: > From: Deren Wu <deren.wu@mediatek.com> > > commit fa3fbe64037839f448dc569212bafc5a495d8219 upstream. This is already in the 5.19.9 kernel release, right? Do we need it again? thanks, greg k-h
Hi, Greg On Fri, Sep 16, 2022 at 2:39 AM Greg KH <gregkh@linuxfoundation.org> wrote: > > On Thu, Sep 15, 2022 at 01:32:35PM +0800, sean.wang@mediatek.com wrote: > > From: Deren Wu <deren.wu@mediatek.com> > > > > commit fa3fbe64037839f448dc569212bafc5a495d8219 upstream. > > This is already in the 5.19.9 kernel release, right? Do we need it > again? Ah, If so, we don't need it again. It seemed unavailable when I submitted the patch. Sorry for bothering you. Sean > > 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 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)