mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [44/50] [abbrv] incubator-mynewt-core git commit: Fix incorrect handling of multiple connections and starting encrypted links with all of them
Date Thu, 11 Aug 2016 21:27:44 GMT
Fix incorrect handling of multiple connections and starting encrypted links with all of them


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

Branch: refs/heads/phyrx_no_mbuf
Commit: b0e058bdb1f9711383463ebffc1f9575d470aa10
Parents: c619a9f
Author: William San Filippo <wills@runtime.io>
Authored: Tue Aug 9 15:51:01 2016 -0700
Committer: William San Filippo <wills@runtime.io>
Committed: Thu Aug 11 14:26:27 2016 -0700

----------------------------------------------------------------------
 apps/bletest/src/bletest_hci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b0e058bd/apps/bletest/src/bletest_hci.c
----------------------------------------------------------------------
diff --git a/apps/bletest/src/bletest_hci.c b/apps/bletest/src/bletest_hci.c
index 64d0270..354b568 100755
--- a/apps/bletest/src/bletest_hci.c
+++ b/apps/bletest/src/bletest_hci.c
@@ -63,7 +63,7 @@ bletest_send_conn_update(uint16_t handle)
 void
 bletest_ltk_req_reply(uint16_t handle)
 {
-    g_bletest_ltk_reply_handle = handle;
+    g_bletest_ltk_reply_handle |= (1 << (handle-1));
 }
 
 int


Mime
View raw message