rymanluk commented on code in PR #1710:
URL: https://github.com/apache/mynewt-nimble/pull/1710#discussion_r1505477113


##########
nimble/host/src/ble_hs_hci_evt.c:
##########
@@ -779,6 +789,39 @@ ble_hs_hci_evt_le_terminate_big_complete(uint8_t subevent, 
const void *data,
 }
 #endif
 
+#if MYNEWT_VAL(BLE_ISO_BROADCAST_SINK)
+static int
+ble_hs_hci_evt_le_big_sync_established(uint8_t subevent, const void *data,
+                                       unsigned int len)
+{
+    const struct ble_hci_ev_le_subev_big_sync_established *ev = data;
+
+    if (len < sizeof(*ev) ||

Review Comment:
   `len < sizeof(*ev) |` seems to be reduntant



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to