Wait for WPS results if target is specified in switches and --wps-only as well

This commit is contained in:
derv82
2018-03-17 17:17:17 -04:00
parent 964bf23763
commit 7d4219808d

View File

@@ -88,6 +88,8 @@ class Scanner(object):
return False
for target in self.targets:
if Configuration.wps_only and target.wps != True:
continue
if bssid and target.bssid and bssid.lower() == target.bssid.lower():
self.target = target
break