mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
1d55083f75
commit
ae223d7110
2 changed files with 8 additions and 5 deletions
|
@ -57,5 +57,5 @@ func (s *Station) HasWPS() bool {
|
|||
}
|
||||
|
||||
func (s *Station) IsOpen() bool {
|
||||
return s.Encryption == ""
|
||||
return s.Encryption == "" || s.Encryption == "OPEN"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue