X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fusb%2Fusb.c;h=9ff31c4b9e2b895de1ca41d27701eabc0f66fafc;hb=484cb254482ee644cc2981d1e2753fca2718bcd3;hp=0d339801e4767572968bab4ee1586bbe2295165d;hpb=12d3f1ba6ba522cd1ef11483d813fe2c2e64f04b;p=carl9170fw.git diff --git a/carlfw/usb/usb.c b/carlfw/usb/usb.c index 0d33980..9ff31c4 100644 --- a/carlfw/usb/usb.c +++ b/carlfw/usb/usb.c @@ -575,7 +575,7 @@ static int usb_get_interface(const struct usb_ctrlrequest *ctrl) static int usb_manipulate_feature(const struct usb_ctrlrequest *ctrl, bool __unused clear) { unsigned int feature; - if (USB_CHECK_REQTYPE(ctrl, USB_RECIP_DEVICE, USB_DIR_OUT)) + if (USB_CHECK_REQTYPE(ctrl, USB_RECIP_DEVICE, USB_DIR_OUT)) return -1; if (usb_configured() == false)