From 4ce3ba8b26a0ac9fbe73f2d4e9262328e7a3bd0e Mon Sep 17 00:00:00 2001 From: Nonoo Date: Wed, 4 Nov 2020 10:39:22 +0100 Subject: [PATCH] Revert "Send reauth multiple times, maybe this helps avoiding occasional audio/serial stream timeouts" This reverts commit bc2abb47160f183079415fafa08614f6f136d2d9. --- controlstream.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controlstream.go b/controlstream.go index 8b0096d..1ac8452 100644 --- a/controlstream.go +++ b/controlstream.go @@ -298,12 +298,6 @@ func (s *controlStream) loop() { if err := s.sendPktAuth(0x05); err != nil { reportError(err) } - if err := s.sendPktAuth(0x05); err != nil { - reportError(err) - } - if err := s.sendPktAuth(0x05); err != nil { - reportError(err) - } case <-s.reauthTimeoutTimer.C: log.Error("auth timeout, audio/serial stream may stop") case <-s.deinitNeededChan: