Changeset 60712 in vbox for trunk/src/VBox
- Timestamp:
- Apr 27, 2016 8:01:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostUSBDeviceImpl.cpp
r59381 r60712 1052 1052 /* The hub/bus + port should help a lot in a re-attach situation. */ 1053 1053 #ifdef RT_OS_WINDOWS 1054 iDiff = strcmp(aDev1->pszHubName, aDev2->pszHubName); 1055 if (iDiff) 1056 { 1057 //Log3(("compare: HubName: %s != %s\n", aDev1->pszHubName, aDev2->pszHubName)); 1058 return iDiff; 1054 /* The hub name makes only sense for the host backend. */ 1055 if ( !strcmp(aDev1->pszBackend, "host") 1056 && aDev1->pszHubName 1057 && aDev2->pszHubName) 1058 { 1059 iDiff = strcmp(aDev1->pszHubName, aDev2->pszHubName); 1060 if (iDiff) 1061 { 1062 //Log3(("compare: HubName: %s != %s\n", aDev1->pszHubName, aDev2->pszHubName)); 1063 return iDiff; 1064 } 1059 1065 } 1060 1066 #else
Note:
See TracChangeset
for help on using the changeset viewer.