From d58ca09763249c6c547012a2e076107d277490a2 Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 2 Jun 2026 13:20:28 +0000 Subject: [PATCH] Missing change in mwx_wfsys_reset, set the bit in the right place. --- sys/dev/pci/if_mwx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_mwx.c b/sys/dev/pci/if_mwx.c index db6144355c5..c38d9bfff9f 100644 --- a/sys/dev/pci/if_mwx.c +++ b/sys/dev/pci/if_mwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mwx.c,v 1.16 2026/06/02 12:18:13 claudio Exp $ */ +/* $OpenBSD: if_mwx.c,v 1.17 2026/06/02 13:20:28 claudio Exp $ */ /* * Copyright (c) 2022 Claudio Jeker * Copyright (c) 2021 MediaTek Inc. @@ -2697,7 +2697,7 @@ mwx_wfsys_reset(struct mwx_softc *sc) mwx_clear(sc, reg, WFSYS_SW_RST_B); delay(50 * 1000); - mwx_set(sc, MT_WFSYS_SW_RST_B, WFSYS_SW_RST_B); + mwx_set(sc, reg, WFSYS_SW_RST_B); return mwx_poll(sc, reg, WFSYS_SW_INIT_DONE, WFSYS_SW_INIT_DONE, 500); }