test_ipv4_ttls: Fix incorrect call for self.use_existing_sta

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-16 08:29:19 -08:00
parent 8303d2b467
commit 114e561605

View File

@@ -280,7 +280,7 @@ class TTLSTest(Realm):
def pre_cleanup(self):
self.l3_cx_obj_udp.cx_profile.cleanup_prefix()
# do not clean up station if existed prior to test
if not self.use_existing_sta:
if not self.l3_cx_obj_udp.use_existing_sta:
for sta in self.sta_list:
self.rm_port(sta, check_exists=True, debug_=False)