mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	modules: Unload modules in reverse order from loading
Make sure a module A that is needed by B is not unloaded before B.
This commit is contained in:
		
							parent
							
								
									083143ed05
								
							
						
					
					
						commit
						95d4eea68f
					
				| @ -173,7 +173,7 @@ void iwd_modules_exit() | ||||
| 		return; | ||||
| 
 | ||||
| 	for (i = 0; i < n_modules; i++) { | ||||
| 		desc = modules_sorted[i]; | ||||
| 		desc = modules_sorted[n_modules - 1 - i]; | ||||
| 		if (!desc->active) | ||||
| 			continue; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Andrew Zaborowski
						Andrew Zaborowski