You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2019/06/06 13:49:09 UTC

[mynewt-nimble] branch master updated: nimble/ll: Add missing return

This is an automated email from the ASF dual-hosted git repository.

rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new a0dba5b  nimble/ll: Add missing return
a0dba5b is described below

commit a0dba5b585db455fd0e4f4820d28069f5e8bdd7b
Author: Ɓukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Wed Jun 5 14:03:19 2019 +0200

    nimble/ll: Add missing return
---
 nimble/controller/src/ble_ll_conn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/controller/src/ble_ll_conn.c b/nimble/controller/src/ble_ll_conn.c
index 8661927..3ca9019 100644
--- a/nimble/controller/src/ble_ll_conn.c
+++ b/nimble/controller/src/ble_ll_conn.c
@@ -2694,6 +2694,7 @@ ble_ll_init_rx_pkt_in(uint8_t pdu_type, uint8_t *rxbuf,
      */
     if (aux_data && !ble_ll_scan_aux_data_unref(aux_data)) {
         BLE_LL_ASSERT(0);
+        return;
     }
 
 #endif