Project

General

Profile

Bug #1968 ยป 0001-set-usb-quirk-the-right-way.patch

masterblaster, 01/25/2011 08:09 AM

View differences:

sys/dev/usbmisc/ukbd/ukbd.c
return EINVAL;
}
if ((usbd_get_quirks(state->ks_uaa->device)->uq_flags & UQ_NO_SET_PROTO) == 0) {
if (usbd_get_quirks(state->ks_uaa->device)->uq_flags & UQ_NO_SET_PROTO) {
err = usbd_set_protocol(state->ks_iface, 0);
DPRINTFN(5, ("ukbd:init_keyboard: protocol set\n"));
if (err) {
    (1-1/1)