tnt has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/29634 )
Change subject: usb: Fix ICE1USB_INTF_SET_GPSDO_MODE request parameter ...................................................................... usb: Fix ICE1USB_INTF_SET_GPSDO_MODE request parameter This call takes its argument in wValue rather than as payload Signed-off-by: Sylvain Munaut <[email protected]> Change-Id: Ibeebe3184a4744bd0cd9f5a19db84c12fab18806 --- M src/usb.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/34/29634/1 diff --git a/src/usb.c b/src/usb.c index 0529535..a8a650c 100644 --- a/src/usb.c +++ b/src/usb.c @@ -635,8 +635,8 @@ { const uint16_t bmReqType = LIBUSB_RECIPIENT_INTERFACE | LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_ENDPOINT_OUT; - return _e1_usb_intf_send_ctrl(intf, bmReqType, ICE1USB_INTF_SET_GPSDO_MODE, 0, - (uint8_t *)&gpsdo_mode, sizeof(gpsdo_mode)); + return _e1_usb_intf_send_ctrl(intf, bmReqType, ICE1USB_INTF_SET_GPSDO_MODE, gpsdo_mode, + NULL, 0); } int -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/29634 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: Ibeebe3184a4744bd0cd9f5a19db84c12fab18806 Gerrit-Change-Number: 29634 Gerrit-PatchSet: 1 Gerrit-Owner: tnt <[email protected]> Gerrit-MessageType: newchange
