[PATCH] libusbhid(3) should not clear report_size field

From: Maksim Yevmenkin <m_evmenkin_at_yahoo.com>
Date: Mon, 26 Jan 2004 14:31:07 -0800 (PST)
Dear Hackers,

while working on bluetooth hid implementation i found out that
libusbhid(3) has minor problem. it turns out that netbsd folks
already fixed this.

http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libusbhid/parse.c.diff?sortby=date&r1=1.4&r2=1.5&f=u

so, i'd like to commit the patch below. who is our resident USB
HID expert? please speak up if there is any problem, concern or
objection.

thanks,
max

freefall% scvs diff -u src/lib/libusbhid
cvs server: Diffing src/lib/libusbhid
Index: src/lib/libusbhid/parse.c
===================================================================
RCS file: /home/ncvs/src/lib/libusbhid/parse.c,v
retrieving revision 1.8
diff -u -r1.8 parse.c
--- src/lib/libusbhid/parse.c   9 Apr 2003 01:52:48 -0000       1.8
+++ src/lib/libusbhid/parse.c   26 Jan 2004 22:25:26 -0000
_at__at_ -86,7 +86,6 _at__at_
        c->string_minimum = 0;
        c->string_maximum = 0;
        c->set_delimiter = 0;
-       c->report_size = 0;
 }
 
 hid_data_t


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
freebsd-hackers_at_freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_at_freebsd.org"
Received on Tue Jan 27 2004 - 13:27:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC