You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2021/11/08 15:32:47 UTC
[mynewt-nimble] 02/02: apps/blestress: Fix log in tx_stress_14
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 0b36c1ac0328d01761a64613c15f296c27865b1a
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Mon Nov 8 15:37:19 2021 +0100
apps/blestress: Fix log in tx_stress_14
---
apps/blestress/src/tx_stress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/blestress/src/tx_stress.c b/apps/blestress/src/tx_stress.c
index 217d5b5..1711f9f 100644
--- a/apps/blestress/src/tx_stress.c
+++ b/apps/blestress/src/tx_stress.c
@@ -1389,7 +1389,7 @@ tx_stress_14_gap_event(struct ble_gap_event *event, void *arg)
if (++tx_stress_ctx->rcv_num >= MYNEWT_VAL(BLE_STRESS_REPEAT)) {
rc = ble_gap_terminate(event->notify_rx.conn_handle,
BLE_ERR_REM_USER_CONN_TERM);
- MODLOG_DFLT(INFO, "rc=%d\n");
+ MODLOG_DFLT(INFO, "rc=%d\n", rc);
assert(rc == 0);
return 0;
}