Revert "Send reauth multiple times, maybe this helps avoiding occasional audio/serial stream timeouts"

This reverts commit bc2abb4716.
This commit is contained in:
Nonoo 2020-11-04 10:39:22 +01:00
parent bc2abb4716
commit 4ce3ba8b26

View file

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