laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved
usb: Fix the length field of ICE1USB_INTF_SET_GPSDO_TUNE request

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: Ibf1b1440696902757f4b1c1d9c4d80c1da453a36
---
M src/usb.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usb.c b/src/usb.c
index a60ea99..97e2563 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

1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.

To view, visit change 29633. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ibf1b1440696902757f4b1c1d9c4d80c1da453a36
Gerrit-Change-Number: 29633
Gerrit-PatchSet: 4
Gerrit-Owner: tnt <tnt@246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged