You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by we...@apache.org on 2016/04/12 05:45:49 UTC

incubator-mynewt-core git commit: Advertising receive isr start only requires pdu type

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 19f148009 -> fde7d8289


Advertising receive isr start only requires pdu type


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/fde7d828
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fde7d828
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/fde7d828

Branch: refs/heads/develop
Commit: fde7d8289f497bcdda5a2ae9ee7b71cb4111ac1a
Parents: 19f1480
Author: William San Filippo <wi...@runtime.io>
Authored: Mon Apr 11 20:39:28 2016 -0700
Committer: William San Filippo <wi...@runtime.io>
Committed: Mon Apr 11 20:39:28 2016 -0700

----------------------------------------------------------------------
 net/nimble/controller/include/controller/ble_ll_adv.h | 2 +-
 net/nimble/controller/src/ble_ll.c                    | 2 +-
 net/nimble/controller/src/ble_ll_adv.c                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fde7d828/net/nimble/controller/include/controller/ble_ll_adv.h
----------------------------------------------------------------------
diff --git a/net/nimble/controller/include/controller/ble_ll_adv.h b/net/nimble/controller/include/controller/ble_ll_adv.h
index e4cdde4..3435a97 100644
--- a/net/nimble/controller/include/controller/ble_ll_adv.h
+++ b/net/nimble/controller/include/controller/ble_ll_adv.h
@@ -132,7 +132,7 @@ void ble_ll_adv_init(void);
 void ble_ll_adv_reset(void);
 
 /* Called on rx pdu start when in advertising state */
-int ble_ll_adv_rx_isr_start(uint8_t pdu_type, struct os_mbuf *rxpdu);
+int ble_ll_adv_rx_isr_start(uint8_t pdu_type);
 
 /* Called on rx pdu end when in advertising state */
 int ble_ll_adv_rx_isr_end(uint8_t pdu_type, struct os_mbuf *rxpdu, int crcok);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fde7d828/net/nimble/controller/src/ble_ll.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll.c b/net/nimble/controller/src/ble_ll.c
index de47430..8790479 100644
--- a/net/nimble/controller/src/ble_ll.c
+++ b/net/nimble/controller/src/ble_ll.c
@@ -675,7 +675,7 @@ ble_ll_rx_start(struct os_mbuf *rxpdu, uint8_t chan)
 
     switch (g_ble_ll_data.ll_state) {
     case BLE_LL_STATE_ADV:
-        rc = ble_ll_adv_rx_isr_start(pdu_type, rxpdu);
+        rc = ble_ll_adv_rx_isr_start(pdu_type);
         break;
     case BLE_LL_STATE_INITIATING:
         if ((pdu_type == BLE_ADV_PDU_TYPE_ADV_IND) ||

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fde7d828/net/nimble/controller/src/ble_ll_adv.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll_adv.c b/net/nimble/controller/src/ble_ll_adv.c
index 9472cd6..6d49494 100644
--- a/net/nimble/controller/src/ble_ll_adv.c
+++ b/net/nimble/controller/src/ble_ll_adv.c
@@ -1046,7 +1046,7 @@ ble_ll_adv_rx_pkt_in(uint8_t ptype, uint8_t *rxbuf, struct ble_mbuf_hdr *hdr)
  *   > 0: Continue to receive frame and go from rx to tx when done
  */
 int
-ble_ll_adv_rx_isr_start(uint8_t pdu_type, struct os_mbuf *rxpdu)
+ble_ll_adv_rx_isr_start(uint8_t pdu_type)
 {
     int rc;
     struct ble_ll_adv_sm *advsm;