Skip to content

Commit

Permalink
Set stall direction when stalling on unhandled device requests
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevg committed Jan 18, 2024
1 parent 8b330ab commit 8923701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facedancer/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def handle_request(self, request: USBControlRequest):
if not handled:
logging.warning(f"Stalling unhandled {request}.")
self._add_request_suggestion(request)
self.stall()
self.stall(direction=USBDirection.IN)

return handled

Expand Down

0 comments on commit 8923701

Please sign in to comment.