You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/19 01:32:30 UTC

[3/3] incubator-mynewt-core git commit: BLE Host - ble_att_clt_tx_read_type() return bad.

BLE Host - ble_att_clt_tx_read_type() return bad.

This function always returned success regardless of the outcome.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d13fe65b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/d13fe65b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/d13fe65b

Branch: refs/heads/develop
Commit: d13fe65b7246ec5e411c32c3f4242312c1cd143f
Parents: 38b7cdd
Author: Christopher Collins <cc...@apache.org>
Authored: Fri Nov 18 16:46:33 2016 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Fri Nov 18 17:31:56 2016 -0800

----------------------------------------------------------------------
 net/nimble/host/src/ble_att_clt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d13fe65b/net/nimble/host/src/ble_att_clt.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_att_clt.c b/net/nimble/host/src/ble_att_clt.c
index e03f6fe..d703cb4 100644
--- a/net/nimble/host/src/ble_att_clt.c
+++ b/net/nimble/host/src/ble_att_clt.c
@@ -483,7 +483,7 @@ ble_att_clt_tx_read_type(uint16_t conn_handle,
 
 err:
     os_mbuf_free_chain(txom);
-    return 0;
+    return rc;
 }
 
 static int