Remove unneeded stuff

This commit is contained in:
Nonoo 2020-10-18 13:05:29 +02:00
parent d90404ff5a
commit 18b3a12d66

View file

@ -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