mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-01-23 00:50:24 +01:00
Send the deauth packet multiple times, as there will be no time for a retransmit during deinit
This commit is contained in:
parent
d9d1c9522b
commit
0939fe2bb4
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue