misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-03-12 16:25:12 +01:00
commit 1b7131eb54
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -385,7 +385,7 @@ func (w *WiFiModule) channelHopper() {
// more channels, therefore we need to increase the time
// we hop on each one otherwise me lose information
if len(w.frequencies) > 14 {
delay = delay * 2 * time.Millisecond
delay = delay * 2
}
frequencies := w.frequencies