mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	netdev: Use l_genl_family_unicast_handler
This commit is contained in:
		
							parent
							
								
									a4512f3cd6
								
							
						
					
					
						commit
						c4153941af
					
				| @ -4847,7 +4847,6 @@ bool netdev_init(const char *whitelist, const char *blacklist) | ||||
| void netdev_set_nl80211(struct l_genl_family *in) | ||||
| { | ||||
| 	struct l_genl_msg *msg; | ||||
| 	struct l_genl *genl = l_genl_family_get_genl(in); | ||||
| 
 | ||||
| 	nl80211 = in; | ||||
| 
 | ||||
| @ -4864,7 +4863,7 @@ void netdev_set_nl80211(struct l_genl_family *in) | ||||
| 								NULL, NULL)) | ||||
| 		l_error("Registering for MLME notification failed"); | ||||
| 
 | ||||
| 	if (!l_genl_set_unicast_handler(genl, netdev_unicast_notify, | ||||
| 	if (!l_genl_family_set_unicast_handler(nl80211, netdev_unicast_notify, | ||||
| 								NULL, NULL)) | ||||
| 		l_error("Registering for unicast notification failed"); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior