From 0939fe2bb46a9c0c1ae5a7941af0c0913fa6ea19 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Wed, 28 Oct 2020 16:37:08 +0100 Subject: [PATCH] Send the deauth packet multiple times, as there will be no time for a retransmit during deinit --- controlstream.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controlstream.go b/controlstream.go index c147649..f244aef 100644 --- a/controlstream.go +++ b/controlstream.go @@ -332,6 +332,9 @@ func (s *controlStream) deinit() { if s.gotAuthID && s.common.gotRemoteSID && s.common.conn != nil { log.Debug("sending deauth") _ = s.sendPktAuth(0x01) + _ = s.sendPktAuth(0x01) + _ = s.sendPktAuth(0x01) + _ = s.sendPktAuth(0x01) } s.common.deinit()