Author: wulf Date: Thu Nov 2 21:17:05 2017 New Revision: 325344 URL: https://svnweb.freebsd.org/changeset/base/325344
Log: MFC: r324770 bthidd: Fix leds on multireport keyboards broken after r297217 Reviewed by: emax, gonzo Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D12214 Modified: stable/11/usr.sbin/bluetooth/bthidd/kbd.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.sbin/bluetooth/bthidd/kbd.c ============================================================================== --- stable/11/usr.sbin/bluetooth/bthidd/kbd.c Thu Nov 2 21:13:24 2017 (r325343) +++ stable/11/usr.sbin/bluetooth/bthidd/kbd.c Thu Nov 2 21:17:05 2017 (r325344) @@ -569,6 +569,11 @@ kbd_status_changed(bthid_session_p s, uint8_t *data, i } hid_end_parse(d); + if (report_id != NO_REPORT_ID) { + data[2] = data[1]; + data[1] = report_id; + } + if (found) write(s->intr, data, (report_id != NO_REPORT_ID) ? 3 : 2); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
