summaryrefslogtreecommitdiff
path: root/libusb/os/linux_usbfs.c
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2016-05-29 17:35:09 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2016-05-29 17:35:09 -0700
commit0b947e5f9b2dfffa4def7007f4fb5b23fe2eb05f (patch)
tree33255352b28cd4f4c83208404bd746d4d4d7a68b /libusb/os/linux_usbfs.c
parent578942b5a90cd36b47b11e0992c2e92a05b70d91 (diff)
downloadlibusb-0b947e5f9b2dfffa4def7007f4fb5b23fe2eb05f.tar.gz
Windows: Fix false assertion failure message during enumeration
Commit 1d54ee1b6687c532eca75925f56eb12e2a34ce42 addressed a device reference leak but introduced a false warning message that occurs for devices detected in early enumeration passes (e.g. hubs). The assertion is meant to warn of a mismatch between parent devices but fails to account for the fact that some devices that are allocated early do not have a parent device assigned until the later enumeration passes. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/linux_usbfs.c')
0 files changed, 0 insertions, 0 deletions