0001-set-usb-quirk-the-right-way.patch

masterblaster, 01/25/2011 08:09 AM

Download (871 Bytes)

View differences:

sys/dev/usbmisc/ukbd/ukbd.c
1460 1460
		return EINVAL;
1461 1461
	}
1462 1462

  
1463
	if ((usbd_get_quirks(state->ks_uaa->device)->uq_flags & UQ_NO_SET_PROTO) == 0) {
1463
	if (usbd_get_quirks(state->ks_uaa->device)->uq_flags & UQ_NO_SET_PROTO) {
1464 1464
		err = usbd_set_protocol(state->ks_iface, 0);
1465 1465
		DPRINTFN(5, ("ukbd:init_keyboard: protocol set\n"));
1466 1466
		if (err) {
1467
-