diff options
Diffstat (limited to 'heimdall')
-rw-r--r-- | heimdall/source/BridgeManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp index ed12b87..d21ea60 100644 --- a/heimdall/source/BridgeManager.cpp +++ b/heimdall/source/BridgeManager.cpp @@ -232,7 +232,7 @@ int BridgeManager::FindDeviceInterface(void) libusb_free_config_descriptor(configDescriptor); - if (result != LIBUSB_SUCCESS) + if (interfaceIndex < 0) { Interface::PrintError("Failed to find correct interface configuration\n"); return (BridgeManager::kInitialiseFailed); |