From 9957abbb463ffe411850cd24df4e8e3d852dfe59 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Thu, 29 Oct 2020 09:20:55 +0100 Subject: [PATCH] Let the server send retransmit requests for deauths --- controlstream.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controlstream.go b/controlstream.go index cb3827a..20b5608 100644 --- a/controlstream.go +++ b/controlstream.go @@ -340,6 +340,8 @@ func (s *controlStream) deinit() { _ = s.sendPktAuth(0x01) _ = s.sendPktAuth(0x01) _ = s.sendPktAuth(0x01) + // Waiting a little bit to make sure the radio can send retransmit requests. + time.Sleep(500 * time.Millisecond) } s.common.deinit()