Skip to content

Commit

Permalink
fw/v0: Fix GET_INTERFACE control request dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
  • Loading branch information
smunaut committed Oct 27, 2020
1 parent b62a722 commit 620047a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fw/v0/src/usb_ctrl_std.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ _get_interface(struct usb_ctrl_req *req, struct usb_xfer *xfer)
enum usb_fnd_resp rv;

/* Check interface exits */
if (usb_desc_find_intf(NULL, idx, 0, NULL))
intf = usb_desc_find_intf(NULL, idx, 0, NULL);
if (intf == NULL)
return false;

Expand Down

0 comments on commit 620047a

Please sign in to comment.