Skip to content

Instantly share code, notes, and snippets.

@rogeliodh
Created October 22, 2016 18:33
Show Gist options
  • Save rogeliodh/8e6d29fbc6776e2ebddb9b4b5f3e7c9c to your computer and use it in GitHub Desktop.
Save rogeliodh/8e6d29fbc6776e2ebddb9b4b5f3e7c9c to your computer and use it in GitHub Desktop.
diff --git a/utils/hwstub/lib/hwstub_usb.cpp b/utils/hwstub/lib/hwstub_usb.cpp
index 6723656..0352872 100644
--- a/utils/hwstub/lib/hwstub_usb.cpp
+++ b/utils/hwstub/lib/hwstub_usb.cpp
@@ -535,6 +535,7 @@ error jz_handle::probe()
if(libusb_claim_interface(m_handle, 0) != 0)
m_probe_status = error::PROBE_FAILURE;
+ m_probe_status = error::SUCCESS;
return m_probe_status;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment