ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: silverducks <silverducks@altlinux.org>
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH 1/1] Fix: mt7921e lockup
Date: Mon, 18 May 2026 13:36:40 +0300
Message-ID: <c519395b-8734-4cd6-a139-c1cab6977d32@altlinux.org> (raw)
In-Reply-To: <6a1268ba-d0f7-4924-a813-67ed1748f6b9@altlinux.org>

Make scan cancellation in the mt76 common layer synchronous,
thus avoiding a race condition, which causes mt7921e chip to
go unresponsive until it is reset.

Signed-off-by: Pavel Petrykin <silverducks@altlinux.org>
---
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c 
b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
index fc3e6728fcfb..0b50d31a6d98 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
@@ -1857,7 +1857,7 @@ int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy 
*phy,
      }

      return mt76_mcu_send_msg(phy->dev, MCU_CE_CMD(CANCEL_HW_SCAN),
-                 &req, sizeof(req), false);
+                 &req, sizeof(req), true);
  }
  EXPORT_SYMBOL_GPL(mt76_connac_mcu_cancel_hw_scan);

-- 
2.50.1




  reply	other threads:[~2026-05-18 10:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18 10:36 [d-kernel] [PATCH 0/1] [6.12-7.1] " silverducks
2026-05-18 10:36 ` silverducks [this message]
2026-05-18 12:26 ` Vitaly Chikunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c519395b-8734-4cd6-a139-c1cab6977d32@altlinux.org \
    --to=silverducks@altlinux.org \
    --cc=devel-kernel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git