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:33:47 UTC
incubator-mynewt-core git commit: BLE Host -
ble_att_clt_tx_read_type() return bad.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/1_0_0_b1_dev abf290455 -> 8f8d26a7b
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/8f8d26a7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/8f8d26a7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/8f8d26a7
Branch: refs/heads/1_0_0_b1_dev
Commit: 8f8d26a7b406cb85369cd488d2afbe44447159a7
Parents: abf2904
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:33:09 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/8f8d26a7/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