Changed use_wpa2 to use_security function

This commit is contained in:
Logan Lipke
2020-07-13 17:19:20 -07:00
parent b8bb9c4d8b
commit a05517bdb4
6 changed files with 6 additions and 12 deletions

View File

@@ -79,8 +79,7 @@ class IPV4L4(LFCliBase):
def build(self):
# Build stations
if self.security == "wpa2":
self.station_profile.use_wpa2(True, self.ssid, self.password)
self.station_profile.use_security(self.security, self.ssid, self.password)
self.station_profile.set_number_template(self.number_template)
print("Creating stations")
self.station_profile.set_command_flag("add_sta", "create_admin_down", 1)