andrzej-kaczmarek closed pull request #55: nimble/host: Fix build with ext adv 
disabled
URL: https://github.com/apache/mynewt-nimble/pull/55
 
 
   

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/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index 4ee72668..cbc7fb81 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -1349,7 +1349,7 @@ ble_gap_rx_conn_complete(struct hci_le_conn_complete 
*evt, uint8_t instance)
              */
 #if !MYNEWT_VAL(BLE_EXT_ADV)
             if (ble_gap_adv_active()) {
-                ble_gap_adv_finished(0, 0, 0);
+                ble_gap_adv_finished(0, 0, 0, 0);
             }
 #endif
             break;
@@ -1588,7 +1588,7 @@ ble_gap_slave_timer(void)
     ble_gap_slave_reset_state(0);
 
     /* Indicate to application that advertising has stopped. */
-    ble_gap_adv_finished(0, BLE_HS_ETIMEOUT, 0);
+    ble_gap_adv_finished(0, BLE_HS_ETIMEOUT, 0, 0);
 
     return BLE_HS_FOREVER;
 }


 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to