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/08/11 21:27:31 UTC

[31/50] [abbrv] incubator-mynewt-core git commit: BLE Host - Add missing break statement.

BLE Host - Add missing break statement.

This fixes a minor bug - the sending of notifications / indications
would cause the tx and rx queues to be processed unnecessarily.


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

Branch: refs/heads/phyrx_no_mbuf
Commit: 2c3618de6307f44c5c4c9943f025019e92af6e93
Parents: 768e635
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Aug 9 17:50:21 2016 -0700
Committer: William San Filippo <wi...@runtime.io>
Committed: Thu Aug 11 14:26:26 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_hs.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/2c3618de/net/nimble/host/src/ble_hs.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs.c b/net/nimble/host/src/ble_hs.c
index 02db879..231dce3 100644
--- a/net/nimble/host/src/ble_hs.c
+++ b/net/nimble/host/src/ble_hs.c
@@ -373,6 +373,7 @@ ble_hs_event_handle(void *unused)
         case BLE_HS_EVENT_TX_NOTIFICATIONS:
             BLE_HS_DBG_ASSERT(ev == &ble_hs_event_tx_notifications);
             ble_gatts_tx_notifications();
+            break;
 
         case OS_EVENT_T_MQUEUE_DATA:
             ble_hs_process_tx_data_queue();