summarylogtreecommitdiffstats
path: root/BridgeManager.patch
blob: 8b7cd9131d32c728c2a39912cfe3fe0740500fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/heimdall/source/BridgeManager.cpp	2015-03-15 18:28:01.469153580 -0500
+++ b/heimdall/source/BridgeManager.cpp	2015-03-15 18:30:00.234516719 -0500
@@ -231,7 +231,8 @@
 {
 	Interface::Print("Claiming interface...\n");
 
-	int result = libusb_claim_interface(deviceHandle, interfaceIndex);
+    int result = libusb_detach_kernel_driver(deviceHandle, interfaceIndex);
+    result = libusb_claim_interface(deviceHandle, interfaceIndex);
 
 #ifdef OS_LINUX