tnt has uploaded this change for review.

View Change

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(-)

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 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: 1
Gerrit-Owner: tnt <tnt@246tNt.com>
Gerrit-MessageType: newchange