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

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


The following commit(s) were added to refs/heads/master by this push:
     new 610a2fb  transiever: fix compilation error
     new 3748d11  Merge pull request #173 from nkaje/freeze
610a2fb is described below

commit 610a2fbefbaba9eb3b905394c9610b3561f222c1
Author: Naveen Kaje <[email protected]>
AuthorDate: Mon Aug 31 09:33:50 2020 -0500

    transiever: fix compilation error
    
    omp.EncodeOmpDgram now takes txFilter, not txFilterCb. Fix this
    
    Signed-off-by: Naveen Kaje <[email protected]>
---
 nmxact/mgmt/transceiver.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nmxact/mgmt/transceiver.go b/nmxact/mgmt/transceiver.go
index 74ec51a..6f432cc 100644
--- a/nmxact/mgmt/transceiver.go
+++ b/nmxact/mgmt/transceiver.go
@@ -219,9 +219,9 @@ func (t *Transceiver) txRxOmpAsync(txCb TxFn, req 
*nmp.NmpMsg, mtu int,
 
        var b []byte
        if t.isTcp {
-               b, err = omp.EncodeOmpTcp(t.txFilterCb, req)
+               b, err = omp.EncodeOmpTcp(t.txFilter, req)
        } else {
-               b, err = omp.EncodeOmpDgram(t.txFilterCb, req)
+               b, err = omp.EncodeOmpDgram(t.txFilter, req)
        }
        if err != nil {
                return err

Reply via email to