diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 22:37:06 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 22:37:06 +0000 |
| commit | b7167d5d0dd29985387f9c91684dca4bedc784fe (patch) | |
| tree | 9181604e616511ede3447b6e345913444c9755ea /sys/dev/usb/usb_device.c | |
| parent | 62460f64ff5955c09e10daaf7210dc229d9ae7dc (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_device.c')
| -rw-r--r-- | sys/dev/usb/usb_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c index 4339cb247779..ae71f7da598f 100644 --- a/sys/dev/usb/usb_device.c +++ b/sys/dev/usb/usb_device.c @@ -665,7 +665,7 @@ usb_config_parse(struct usb_device *udev, uint8_t iface_index, uint8_t cmd) /* look for matching endpoints */ if ((iface_index == USB_IFACE_INDEX_ANY) || (iface_index == ep->iface_index)) { - if (ep->refcount != 0) { + if (ep->refcount_alloc != 0) { /* * This typically indicates a * more serious error. |
