mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	Added check for security type
This commit is contained in:
		| @@ -134,7 +134,8 @@ class IPV4VariableTime(LFCliBase): | ||||
|                                            debug=self.debug) | ||||
|  | ||||
|     def build(self): | ||||
|         self.station_profile.use_wpa2(True, self.ssid, self.password) | ||||
|         if self.security == "wpa2": | ||||
|             self.station_profile.use_wpa2(True, 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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Logan Lipke
					Logan Lipke