Commit 0e2cfaa0 authored by Linux Patches Robot's avatar Linux Patches Robot Committed by Tomasz Nowicki
Browse files

UPSTREAM: wifi: mt76: mt7925: fix a potential association failure upon resuming



In multi-channel scenarios, the granted channel must be aborted before
suspending. Otherwise, the firmware will be put into a wrong state,
resulting in an association failure after resuming.

With this patch, the granted channel will be aborted before suspending
if necessary.

Cc: stable@vger.kernel.org
Fixes: c948b5da ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: default avatarMichael Lo <michael.lo@mediatek.com>
Signed-off-by: default avatarMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20240902090054.15806-1-mingyen.hsieh@mediatek.com


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
(cherry picked from commit 45064d19)

BUG=b:178754244, b:337131500
TEST=Build against all mt76 drivers successfully

Signed-off-by: default avatarLinux Patches Robot <linux-patches-robot@chromeos-missing-patches.google.com.iam.gserviceaccount.com>
Change-Id: I4d0c24dbdf559483da3b59c0f6b16eba88f3d119
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5910286


Reviewed-by: default avatarJintao Lin <jintaolin@chromium.org>
Reviewed-by: default avatarDavid Ruth <druth@chromium.org>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Tested-by: default avatarJintao Lin <jintaolin@chromium.org>
Commit-Queue: ChromeOS Auto Retry <chromeos-auto-retry@chromeos-bot.iam.gserviceaccount.com>
Signed-off-by: default avatarMateusz Urbańczyk <urbanczyk@google.com>
parent 97176ced
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment