Add missing byteswap to mtw_write_cfg().
authorhastings <hastings@openbsd.org>
Tue, 8 Mar 2022 06:05:58 +0000 (06:05 +0000)
committerhastings <hastings@openbsd.org>
Tue, 8 Mar 2022 06:05:58 +0000 (06:05 +0000)
commit0fa2bdbc987065052bacf2398cc60e9f56c8e250
treea2b31fd7aaa87f29a810c00bc0ba4eb54a7a972d
parente696d9ab6bef2c180531fba034eae3c1c19b6cd8
Add missing byteswap to mtw_write_cfg().
Fixes loading firmware on big-endian machines.

ok stsp@, jmatthew@
sys/dev/usb/if_mtw.c