test_ipv4_ps: Pass debug information to rm_port

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2022-01-21 17:08:43 -08:00
committed by shivam
parent 2b6a74914b
commit ff0b787d8a

View File

@@ -103,7 +103,7 @@ class IPV4VariableTime(Realm):
self.vap_profile.set_command_flag("add_vap", "use-bss-load", 1) self.vap_profile.set_command_flag("add_vap", "use-bss-load", 1)
self.vap_profile.set_command_flag("add_vap", "use-bss-transition", 1) self.vap_profile.set_command_flag("add_vap", "use-bss-transition", 1)
self.vap_profile.create(resource=1, radio="wiphy1", channel=161, up_=True, debug=False, self.vap_profile.create(resource=1, radio="wiphy1", channel=161, up_=True, debug=self.debug,
suppress_related_commands_=True) suppress_related_commands_=True)
self.monitor.create(resource_=1, channel=161, radio_=self.radio2, name_="moni0") self.monitor.create(resource_=1, channel=161, radio_=self.radio2, name_="moni0")
self.station_profile.create(radio=self.radio, sta_names_=self.sta_list, debug=self.debug) self.station_profile.create(radio=self.radio, sta_names_=self.sta_list, debug=self.debug)
@@ -159,7 +159,7 @@ class IPV4VariableTime(Realm):
def pre_cleanup(self): def pre_cleanup(self):
self.cx_profile.cleanup_prefix() self.cx_profile.cleanup_prefix()
for sta in self.sta_list: for sta in self.sta_list:
self.rm_port(sta, check_exists=True, debug_=False) self.rm_port(sta, check_exists=True, debug_=self.debug)
def cleanup(self): def cleanup(self):
self.cx_profile.cleanup() self.cx_profile.cleanup()