Date: Fri, 14 Feb 2025 15:22:55 GMT From: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b96864412700 - main - mtw: Use correct cmd for radio Message-ID: <202502141522.51EFMts5088643@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jsm: URL: https://cgit.FreeBSD.org/src/commit/?id=b96864412700a2a5b5e9aaf5d6513ec062cfc96f commit b96864412700a2a5b5e9aaf5d6513ec062cfc96f Author: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> AuthorDate: 2025-02-14 15:17:45 +0000 Commit: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> CommitDate: 2025-02-14 15:20:40 +0000 mtw: Use correct cmd for radio Approved by: adrian, wireless Differential Revision: https://reviews.freebsd.org/D49003 --- sys/dev/usb/wlan/if_mtw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/wlan/if_mtw.c b/sys/dev/usb/wlan/if_mtw.c index d7970af5d876..51398134ff9d 100644 --- a/sys/dev/usb/wlan/if_mtw.c +++ b/sys/dev/usb/wlan/if_mtw.c @@ -4384,7 +4384,7 @@ mtw_mcu_radio(struct mtw_softc *sc, int func, uint32_t val) cmd.r2 = htole32(val); cmd.r3 = 0; cmd.r4 = 0; - return (mtw_mcu_cmd(sc, 8, &cmd, sizeof(struct mtw_mcu_cmd_16))); + return (mtw_mcu_cmd(sc, 20, &cmd, sizeof(struct mtw_mcu_cmd_16))); } static void mtw_init_locked(struct mtw_softc *sc)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502141522.51EFMts5088643>