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 2017/08/21 20:46:35 UTC

[mynewt-newtmgr] branch master updated (1920bb0 -> bb09891)

This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git.


    from 1920bb0  newtmgr - revendor
     new 451f2be  nmxact - BLE session was being removed too early.
     new bb09891  newtmgr - revendor

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 newtmgr/Godeps/Godeps.json                         | 56 +++++++++++-----------
 .../newtmgr/nmxact/nmble/ble_sesn.go               |  4 +-
 nmxact/nmble/ble_sesn.go                           |  4 +-
 3 files changed, 32 insertions(+), 32 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" <co...@mynewt.apache.org>'].

[mynewt-newtmgr] 01/02: nmxact - BLE session was being removed too early.

Posted by cc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git

commit 451f2be0beba4afecfce08a95d5f429548f6f56e
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Mon Aug 21 13:41:56 2017 -0700

    nmxact - BLE session was being removed too early.
---
 nmxact/nmble/ble_sesn.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nmxact/nmble/ble_sesn.go b/nmxact/nmble/ble_sesn.go
index 33098bc..3138f39 100644
--- a/nmxact/nmble/ble_sesn.go
+++ b/nmxact/nmble/ble_sesn.go
@@ -92,12 +92,12 @@ func (s *BleSesn) disconnectListen() {
 		// If the session is being closed, unblock the close() call.
 		defer s.closeBlocker.Unblock(nil)
 
-		s.bx.removeSesn(s.conn.connHandle)
-
 		// Block until disconnect.
 		err := <-s.conn.DisconnectChan()
 		nmxutil.Assert(!s.IsOpen())
 
+		s.bx.removeSesn(s.conn.connHandle)
+
 		// Signal error to all listeners.
 		s.txvr.ErrorAll(err)
 		s.txvr.Stop()

-- 
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.

[mynewt-newtmgr] 02/02: newtmgr - revendor

Posted by cc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git

commit bb09891e97d740e1d05b67e836340c197c993c71
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Mon Aug 21 13:43:00 2017 -0700

    newtmgr - revendor
---
 newtmgr/Godeps/Godeps.json                         | 56 +++++++++++-----------
 .../newtmgr/nmxact/nmble/ble_sesn.go               |  4 +-
 2 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/newtmgr/Godeps/Godeps.json b/newtmgr/Godeps/Godeps.json
index 95105a7..37f67fe 100644
--- a/newtmgr/Godeps/Godeps.json
+++ b/newtmgr/Godeps/Godeps.json
@@ -127,73 +127,73 @@
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/adv",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/bledefs",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/mgmt",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/nmble",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/nmp",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/nmserial",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/nmxutil",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/oic",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/omp",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/scan",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/sesn",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/udp",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/xact",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		},
 		{
 			"ImportPath": "mynewt.apache.org/newtmgr/nmxact/xport",
-			"Comment": "mynewt_1_1_0_tag-61-g3ed2b09",
-			"Rev": "3ed2b09d6f3ba39b79570aaab934447dae9ed426"
+			"Comment": "mynewt_1_1_0_tag-60-g92c6387",
+			"Rev": "92c6387867ea52d83b0572d06a2fc2a63d201c61"
 		}
 	]
 }
diff --git a/newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmble/ble_sesn.go b/newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmble/ble_sesn.go
index 33098bc..3138f39 100644
--- a/newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmble/ble_sesn.go
+++ b/newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmble/ble_sesn.go
@@ -92,12 +92,12 @@ func (s *BleSesn) disconnectListen() {
 		// If the session is being closed, unblock the close() call.
 		defer s.closeBlocker.Unblock(nil)
 
-		s.bx.removeSesn(s.conn.connHandle)
-
 		// Block until disconnect.
 		err := <-s.conn.DisconnectChan()
 		nmxutil.Assert(!s.IsOpen())
 
+		s.bx.removeSesn(s.conn.connHandle)
+
 		// Signal error to all listeners.
 		s.txvr.ErrorAll(err)
 		s.txvr.Stop()

-- 
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.