mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	sta_connect.py: Use name_to_eid to parse name of radio
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -160,10 +160,12 @@ class StaConnect(Realm):
 | 
			
		||||
        elif self.dut_security == OPEN:
 | 
			
		||||
            pass
 | 
			
		||||
 | 
			
		||||
        radio = LFUtils.name_to_eid(self.radio)
 | 
			
		||||
 | 
			
		||||
        add_sta_data = {
 | 
			
		||||
            "shelf": 1,
 | 
			
		||||
            "resource": self.resource,
 | 
			
		||||
            "radio": self.radio,
 | 
			
		||||
            "shelf": radio[0],
 | 
			
		||||
            "resource": radio[1],
 | 
			
		||||
            "radio": radio[2],
 | 
			
		||||
            "ssid": self.dut_ssid,
 | 
			
		||||
            "key": self.dut_passwd,
 | 
			
		||||
            "mode": self.sta_mode,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user