Fix byte-reversal of language ID in string descriptor.

The language id of String Descriptors in usb mouse is
0x0904, while the spec require 0x0409 (English - United States)

Submitted by:	Wanpeng Qian
Reviewed by:	grehan
Approved by:	grehan (#bhyve)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D26472
This commit is contained in:
Peter Grehan
2020-09-18 05:54:59 +00:00
parent 3b8506ae30
commit 285e35e6f1
+1 -1
View File
@@ -74,7 +74,7 @@ enum {
};
static const char *umouse_desc_strings[] = {
"\x04\x09",
"\x09\x04",
"BHYVE",
"HID Tablet",
"01",