diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-11 18:50:33 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-11 18:50:33 +0000 |
commit | 23be8eb25e0fc0e9cc1274c0dafa4f9c03526f36 (patch) | |
tree | df4f097d7039cbcc6530b8c6eeaab484a8e66009 /sys/dev/usb/ucycom.c | |
parent | 477855b2148747cf0d884fbb75161e499ca2e59b (diff) |
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!
Diffstat (limited to 'sys/dev/usb/ucycom.c')
0 files changed, 0 insertions, 0 deletions