|
@@ -718,7 +718,7 @@ class WpaSupplicant:
|
|
if not force_scan and self.get_bss(bssid) is not None:
|
|
if not force_scan and self.get_bss(bssid) is not None:
|
|
return
|
|
return
|
|
for i in range(0, 10):
|
|
for i in range(0, 10):
|
|
- self.scan(freq=freq)
|
|
+ self.scan(freq=freq, type="ONLY")
|
|
if self.get_bss(bssid) is not None:
|
|
if self.get_bss(bssid) is not None:
|
|
return
|
|
return
|
|
raise Exception("Could not find BSS " + bssid + " in scan")
|
|
raise Exception("Could not find BSS " + bssid + " in scan")
|