From 18b3a12d668571ec276fd84a85aa02bdfe220e18 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Sun, 18 Oct 2020 13:05:29 +0200 Subject: [PATCH] Remove unneeded stuff --- controlstream.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controlstream.go b/controlstream.go index 43f79ef..98444dd 100644 --- a/controlstream.go +++ b/controlstream.go @@ -247,9 +247,8 @@ func (s *controlStream) start() { s.common.sendPkt6() log.Debug("expecting pkt6 answer") - r = s.common.expect(16, []byte{0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00}) // Example answer from radio: 0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00, 0xe8, 0xd0, 0x44, 0x50, 0xa0, 0x61, 0x39, 0xbe - s.common.remoteSID = binary.BigEndian.Uint32(r[8:12]) + s.common.expect(16, []byte{0x10, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00}) s.authSendSeq = 1 s.authInnerSendSeq = 0x1234