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

This commit is contained in:
evilsocket 2018-08-26 12:13:44 +02:00
commit 38694ad091
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -71,8 +71,7 @@ func (w *WiFiModule) startDeauth(to net.HardwareAddr) error {
}
if len(toDeauth) == 0 {
return fmt.Errorf("%s is an unknown BSSID.", to.String())
return fmt.Errorf("%s is an unknown BSSID or doesn't have detected clients.", to.String())
}
// since we need to change the wifi adapter channel for each