CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2014/12/11 11:50:32

Modified files:
        sys/dev/usb    : upd.c 

Log message:
Handle UPSes with broken report descriptors.

As reported by David Higgs some UPSes might send fewer bytes than
requested.  When such thing happens, do like apcupsd and adjust
the size of the given descriptor.

Based on a diff provided by David Higgs, thanks!

Reply via email to