mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			315 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			315 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/iwconfig.c
 | 
						|
+++ b/iwconfig.c
 | 
						|
@@ -1034,8 +1034,8 @@ set_power_info(int		skfd,
 | 
						|
 	wrq.u.power.disabled = 0;
 | 
						|
 
 | 
						|
 	/* Is there any value to grab ? */
 | 
						|
-	value = strtod(args[0], &unit);
 | 
						|
-	if(unit != args[0])
 | 
						|
+	value = strtod(args[i], &unit);
 | 
						|
+	if(unit != args[i])
 | 
						|
 	  {
 | 
						|
 	    struct iw_range	range;
 | 
						|
 	    int			flags;
 |