Skip to content

Commit

Permalink
handle_set_address does not exist in USBBaseDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
kauwua committed Jun 6, 2024
1 parent 1d77770 commit 5b71dc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion facedancer/filters/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def filter_control_out(self, req, data):
# handle it ourself, and absorb it.
if req.get_recipient() == self.RECIPIENT_DEVICE and \
req.request == self.SET_ADDRESS_REQUEST:
self.device.handle_set_address_request(req)
req.acknowledge(blocking=True)
self.device.set_address(req.value)
return None, None

# Special case: if this is a SET_CONFIGURATION_REQUEST,
Expand Down

0 comments on commit 5b71dc1

Please sign in to comment.