You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/06/22 17:46:10 UTC

incubator-mynewt-core git commit: BLE Host - Remove extra sec check on ATT write.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop f664c5091 -> 9a8d36e17


BLE Host - Remove extra sec check on ATT write.

This looks like a merge mistake.


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

Branch: refs/heads/develop
Commit: 9a8d36e17d6e2f3f4d7ba610092f5d9143752cbf
Parents: f664c50
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jun 22 10:45:44 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Jun 22 10:45:44 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_att_svr.c | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9a8d36e1/net/nimble/host/src/ble_att_svr.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_att_svr.c b/net/nimble/host/src/ble_att_svr.c
index 2e4e137..9315c7e 100644
--- a/net/nimble/host/src/ble_att_svr.c
+++ b/net/nimble/host/src/ble_att_svr.c
@@ -366,11 +366,6 @@ ble_att_svr_write(uint16_t conn_handle, struct ble_att_svr_entry *entry,
         }
     }
 
-    rc = ble_att_svr_check_security(conn_handle, 0, entry, &att_err);
-    if (rc != 0) {
-        goto err;
-    }
-
     BLE_HS_DBG_ASSERT(entry->ha_cb != NULL);
     rc = entry->ha_cb(conn_handle, entry->ha_handle_id,
                       entry->ha_uuid, BLE_ATT_ACCESS_OP_WRITE, ctxt,