[SRU][F][PATCH 0/1] Fix instability in connecting to network with mt76

Shrirang Bagul shrirang.bagul at canonical.com
Fri Dec 18 09:13:34 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1906770

[Impact]
Instability in connecting to WiFi AP with Netgear A6210 USB adapter
and other adapters supported with mt76 mediatek driver (Mediatek MT7612U)
chipsets

[Fix]
The current ampdu locking code does not unlock its mutex in the early
return case. This patch fixes it.

[Testing]
Verified by users by installing a test kernel built with this patch applied
on top of Ubuntu-5.4.0-59.65
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906770/comments/16

[Where problems could occur]
The patch is a clean cherry-pick from an upstream submission. It fixes the
instability in MediaTek mt76 driver introduced by commit -
03db30eca2ae mt76: add missing locking around ampdu action

This patch is unlikely to cause any regression.

Markus Theil (1):
  mt76: fix fix ampdu locking

 drivers/net/wireless/mediatek/mt76/mt7603/main.c  | 6 ++++--
 drivers/net/wireless/mediatek/mt76/mt7615/main.c  | 6 ++++--
 drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list