tnt has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/29633 )
Change subject: usb: Fix the length field of ICE1USB_INTF_SET_GPSDO_TUNE request ...................................................................... usb: Fix the length field of ICE1USB_INTF_SET_GPSDO_TUNE request Signed-off-by: Sylvain Munaut <[email protected]> Change-Id: Ibf1b1440696902757f4b1c1d9c4d80c1da453a36 --- M src/usb.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/33/29633/1 diff --git a/src/usb.c b/src/usb.c index 07afc0e..0529535 100644 --- a/src/usb.c +++ b/src/usb.c @@ -645,7 +645,7 @@ 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_TUNE, 0, - (uint8_t *)gpsdo_tune, sizeof(gpsdo_tune)); + (uint8_t *)gpsdo_tune, sizeof(*gpsdo_tune)); } int -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/29633 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: Ibf1b1440696902757f4b1c1d9c4d80c1da453a36 Gerrit-Change-Number: 29633 Gerrit-PatchSet: 1 Gerrit-Owner: tnt <[email protected]> Gerrit-MessageType: newchange
