kernel - Fix bulk transfer issue in USB/ohci
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Jun 2012 19:24:07 +0000 (12:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 13 Jun 2012 19:24:07 +0000 (12:24 -0700)
commit0fdd0fdfd2615f258caccce4757d4604d6fc2019
treeb9b844fa9fbbe1212373a6b62d907c7ac409952a
parentd1218435d129b83ededf8b41e1fc44ebd58ca24d
kernel - Fix bulk transfer issue in USB/ohci

* Fix a crash/panic in usb_transfer_complete() due to an incorrect
  xfer->actlen field.

* The field must be cleared at the beginning of a bulk transfer so
  the incremental completions can be added to it.

* Fixes ULPT when used w/OHCI.  ULPT still appears to have problems when
  used with EHCI.
sys/bus/usb/ohci.c