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

janc 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 ee6bc63  NimBLE/host: Fix return code in `ble_hs_tx_data`
ee6bc63 is described below

commit ee6bc63be81dd275dc39d3e164c5f89a247c0198
Author: Prasad Alatkar <[email protected]>
AuthorDate: Fri Oct 4 14:34:42 2019 +0530

    NimBLE/host: Fix return code in `ble_hs_tx_data`
    
    - Minor fix to return failed return code in `ble_hs_tx_data`.
---
 nimble/host/src/ble_hs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/nimble/host/src/ble_hs.c b/nimble/host/src/ble_hs.c
index c269636..969a3e1 100644
--- a/nimble/host/src/ble_hs.c
+++ b/nimble/host/src/ble_hs.c
@@ -707,8 +707,7 @@ ble_hs_tx_data(struct os_mbuf *om)
     ble_monitor_send_om(BLE_MONITOR_OPCODE_ACL_TX_PKT, om);
 #endif
 
-    ble_hci_trans_hs_acl_tx(om);
-    return 0;
+    return ble_hci_trans_hs_acl_tx(om);
 }
 
 void

Reply via email to