]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7925: fix a potential association failure upon resuming
authorMichael Lo <michael.lo@mediatek.com>
Mon, 2 Sep 2024 09:00:54 +0000 (17:00 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 6 Sep 2024 12:23:07 +0000 (14:23 +0200)
commit45064d19fd3af6aeb0887b35b5564927980cf150
treee026adcddcaa9531493042d12e66c94b15484382
parentbb6fe2b92ae7bab4d95976a1a4d705d40731f690
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: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20240902090054.15806-1-mingyen.hsieh@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/main.c
drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h
drivers/net/wireless/mediatek/mt76/mt7925/pci.c