laforge has submitted this change. (
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 <tnt(a)246tNt.com>
Change-Id: Ibf1b1440696902757f4b1c1d9c4d80c1da453a36
---
M src/usb.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
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
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: 4
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged