mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	lf-associate: Deal with wlanX names
Script was trying to make it staX instead. Use first station as named regardless.
This commit is contained in:
		| @@ -1396,7 +1396,13 @@ sub initStationAddr { | |||||||
|    } |    } | ||||||
|    for( my $i=0; $i < $::num_stations ; $i++ ) { |    for( my $i=0; $i < $::num_stations ; $i++ ) { | ||||||
|       my $suffix     = 0 + $i + $offset; |       my $suffix     = 0 + $i + $offset; | ||||||
|       my $name       = sprintf("sta%03d",    $suffix); |       my $name; | ||||||
|  |       if ($i == 0) { | ||||||
|  | 	$name = $::first_sta; | ||||||
|  |       } | ||||||
|  |       else { | ||||||
|  | 	$name       = sprintf("sta%03d",    $suffix); | ||||||
|  |       } | ||||||
|       my $ep_name1   = sprintf("ep-A%03d",   $suffix); |       my $ep_name1   = sprintf("ep-A%03d",   $suffix); | ||||||
|       my $ep_name2   = sprintf("ep-B%03d",   $suffix); |       my $ep_name2   = sprintf("ep-B%03d",   $suffix); | ||||||
|       my $cx_name    = sprintf("cx-%03d",    $suffix); |       my $cx_name    = sprintf("cx-%03d",    $suffix); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ben Greear
					Ben Greear