mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	main: Move manager initialization
The order of wiphy / netdev dumps matters. So to preserve the old behavior, move manager initialization up.
This commit is contained in:
		
							parent
							
								
									65109ec46d
								
							
						
					
					
						commit
						72158e66da
					
				| @ -151,6 +151,8 @@ static void nl80211_appeared(void *user_data) | ||||
| 
 | ||||
| 	l_debug("Found nl80211 interface"); | ||||
| 
 | ||||
| 	manager_init(nl80211); | ||||
| 
 | ||||
| 	if (!wiphy_init(nl80211, phys, nophys)) | ||||
| 		l_error("Unable to init wiphy functionality"); | ||||
| 
 | ||||
| @ -161,7 +163,6 @@ static void nl80211_appeared(void *user_data) | ||||
| 
 | ||||
| 	ap_init(nl80211); | ||||
| 	adhoc_init(nl80211); | ||||
| 	manager_init(nl80211); | ||||
| } | ||||
| 
 | ||||
| static void nl80211_vanished(void *user_data) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior