This is not compatible to our current schema where one kernel device
is attached per report ID of every USB HID device since the drivers
already strip the data buffers.
Fix a parsing issue reported by henning@
-/* $OpenBSD: data.c,v 1.7 2014/05/12 17:03:28 mpi Exp $ */
+/* $OpenBSD: data.c,v 1.8 2014/06/04 12:13:30 mpi Exp $ */
/* $NetBSD: data.c,v 1.1 2001/12/28 17:45:26 augustss Exp $ */
/*
buf = p;
+#if 0
/* Skip report ID byte. */
if (h->report_ID > 0)
buf++;
+#endif
hpos = h->pos; /* bit position of data */
hsize = h->report_size; /* bit length of data */
buf = p;
+#if 0
/* Set report ID byte. */
if (h->report_ID > 0)
*buf++ = h->report_ID & 0xff;
+#endif
hpos = h->pos; /* bit position of data */
hsize = h->report_size; /* bit length of data */