Author: grehan Date: Fri Sep 18 05:54:59 2020 New Revision: 365873 URL: https://svnweb.freebsd.org/changeset/base/365873
Log: 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 Modified: head/usr.sbin/bhyve/usb_mouse.c Modified: head/usr.sbin/bhyve/usb_mouse.c ============================================================================== --- head/usr.sbin/bhyve/usb_mouse.c Fri Sep 18 03:11:47 2020 (r365872) +++ head/usr.sbin/bhyve/usb_mouse.c Fri Sep 18 05:54:59 2020 (r365873) @@ -74,7 +74,7 @@ enum { }; static const char *umouse_desc_strings[] = { - "\x04\x09", + "\x09\x04", "BHYVE", "HID Tablet", "01", _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"