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

This commit is contained in:
evilsocket 2019-02-06 08:46:19 +01:00
commit ae223d7110
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 8 additions and 5 deletions

View file

@ -57,5 +57,5 @@ func (s *Station) HasWPS() bool {
}
func (s *Station) IsOpen() bool {
return s.Encryption == ""
return s.Encryption == "" || s.Encryption == "OPEN"
}