1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 03:34:53 +08:00

Merge 0ff5953e811c997ed406c013f5f7a0a9aba9c9a6 into 69e0372cf0d3796e84ce9a09aff1d74496f68720

This commit is contained in:
Xiaolei Wang 2022-08-03 07:35:37 -07:00 committed by GitHub
commit 85178a46a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ get_parent_iousb_device( io_object_t& serial_port )
string name = get_class_name(device);
// Walk the IO Registry tree looking for this devices parent IOUSBDevice.
while( name != "IOUSBDevice" )
while( name != "IOUSBDevice" && name != "IOUSBHostInterface" )
{
kern_result = IORegistryEntryGetParentEntry( device,
kIOServicePlane,