mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-07 22:23:29 +00:00
sta_connect.setup: check_exists should be used as an argument in rm_port, the existing code was probably from before we had the check_exists method
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -174,8 +174,7 @@ class StaConnect(Realm):
|
||||
return False
|
||||
|
||||
for sta_name in self.station_names:
|
||||
if self.port_exists(sta_name, debug=self.debug):
|
||||
self.rm_port(sta_name, debug_=self.debug)
|
||||
self.rm_port(sta_name, check_exists=True, debug_=self.debug)
|
||||
self.wait_until_ports_disappear(self.station_names, debug_=self.debug)
|
||||
|
||||
# Create stations and turn dhcp on
|
||||
|
||||
Reference in New Issue
Block a user