You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/01/26 08:06:02 UTC

[GitHub] sjanc closed pull request #765: nimble/controller: Fix LE Test End Command return value

sjanc closed pull request #765: nimble/controller: Fix LE Test End Command return value
URL: https://github.com/apache/mynewt-core/pull/765
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/net/nimble/controller/src/ble_ll_dtm.c b/net/nimble/controller/src/ble_ll_dtm.c
index aa1d2433d..487b4e90e 100644
--- a/net/nimble/controller/src/ble_ll_dtm.c
+++ b/net/nimble/controller/src/ble_ll_dtm.c
@@ -162,7 +162,6 @@ ble_ll_dtm_tx_done(void *arg)
     if (!ctx->evt.ev_cb) {
         return;
     }
-    ctx->num_of_packets++;
     /* Reschedule event in LL context */
     os_eventq_put(&g_ble_ll_data.ll_evq, &ctx->evt);
 
@@ -197,7 +196,7 @@ ble_ll_dtm_tx_sched_cb(struct ble_ll_sched_item *sch)
     rc = ble_phy_tx_set_start_time(sch->start_time, sch->remainder);
     assert(rc == 0);
 
-    rc = ble_phy_tx(ctx->om, BLE_PHY_TRANSITION_NONE);
+    rc = ble_phy_tx(ble_ll_tx_mbuf_pducb, ctx->om, BLE_PHY_TRANSITION_NONE);
     assert(rc == 0);
 
     ble_ll_state_set(BLE_LL_STATE_DTM);


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services