mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	manager: fix UseDefaultInterface warning
This logic was incorrect here, we only want to print if the option is used, not if its unset.
This commit is contained in:
		
							parent
							
								
									14b9291490
								
							
						
					
					
						commit
						a27b7823df
					
				| @ -894,11 +894,11 @@ static int manager_init(void) | ||||
| 	} | ||||
| 
 | ||||
| 	if (!l_settings_get_bool(config, "General", | ||||
| 				"UseDefaultInterface", &use_default)) { | ||||
| 				"UseDefaultInterface", &use_default)) | ||||
| 		use_default = false; | ||||
| 	else | ||||
| 		l_warn("[General].UseDefaultInterface is deprecated, please " | ||||
| 			"use [DriverQuirks].DefaultInterface instead"); | ||||
| 		use_default = false; | ||||
| 	} | ||||
| 
 | ||||
| 	return 0; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood