The branch main has been updated by jsm:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b96864412700a2a5b5e9aaf5d6513ec062cfc96f

commit b96864412700a2a5b5e9aaf5d6513ec062cfc96f
Author:     Jesper Schmitz Mouridsen <j...@freebsd.org>
AuthorDate: 2025-02-14 15:17:45 +0000
Commit:     Jesper Schmitz Mouridsen <j...@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)

Reply via email to