sta_scan_test: Use a more robust cleanup method at the beginning of the test so we avoid false negatives

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-16 08:24:56 -08:00
parent 25b2fdbfb8
commit 8a93649b0a

View File

@@ -126,8 +126,7 @@ class StaScan(Realm):
print("%s\t%s\t%s" % (info['bss'], info['signal'], info['ssid']))
def pre_cleanup(self):
for sta in self.sta_list:
self.rm_port(sta, check_exists=True)
self.station_profile.cleanup(self.sta_list)
def cleanup(self):
self.station_profile.cleanup()