projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add (hopefully) support for vendors
[goodfet]
/
client
/
USBDevice.py
diff --git
a/client/USBDevice.py
b/client/USBDevice.py
index
4a2ba13
..
29450b4
100644
(file)
--- a/
client/USBDevice.py
+++ b/
client/USBDevice.py
@@
-151,7
+151,7
@@
class USBDevice:
elif req_type == USB.request_type_class:
handler_entity = recipient.device_class
elif req_type == USB.request_type_vendor:
elif req_type == USB.request_type_class:
handler_entity = recipient.device_class
elif req_type == USB.request_type_vendor:
- handler_entity = recipient.
get_device_vendor()
+ handler_entity = recipient.
device_vendor
if not handler_entity:
print(self.name, "invalid handler entity, stalling")
if not handler_entity:
print(self.name, "invalid handler entity, stalling")