No need to send multiple deauths as retransmission will take care of it

This commit is contained in:
Nonoo 2020-10-29 15:13:16 +01:00
parent 35c55b7adb
commit a6b98aad72

View file

@ -337,7 +337,6 @@ func (s *controlStream) deinit() {
if s.gotAuthID && s.common.gotRemoteSID && s.common.conn != nil {
log.Debug("sending deauth")
_ = s.sendPktAuth(0x01)
_ = s.sendPktAuth(0x01)
// Waiting a little bit to make sure the radio can send retransmit requests.
time.Sleep(500 * time.Millisecond)
}