mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-30 20:37:26 +01:00 
			
		
		
		
	ie: Tweak function signature
This commit is contained in:
		
							parent
							
								
									9d79ce45e4
								
							
						
					
					
						commit
						c2aa596dd4
					
				
							
								
								
									
										2
									
								
								src/ie.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								src/ie.c
									
									
									
									
									
								
							| @ -163,7 +163,7 @@ static void *ie_tlv_vendor_ie_concat(const unsigned char oui[], | ||||
|  * Elements (the order of these elements in the original packet shall be | ||||
|  * preserved when concatenating Data components)." | ||||
|  */ | ||||
| void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len, | ||||
| void *ie_tlv_extract_wsc_payload(const unsigned char *ies, size_t len, | ||||
| 							ssize_t *out_len) | ||||
| { | ||||
| 	static unsigned char oui[3] = { 0x00, 0x50, 0xf2 }; | ||||
|  | ||||
							
								
								
									
										2
									
								
								src/ie.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								src/ie.h
									
									
									
									
									
								
							| @ -251,7 +251,7 @@ static inline const unsigned char *ie_tlv_iter_get_data( | ||||
| 	return iter->data; | ||||
| } | ||||
| 
 | ||||
| void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len, | ||||
| void *ie_tlv_extract_wsc_payload(const uint8_t *ies, size_t len, | ||||
| 							ssize_t *out_len); | ||||
| 
 | ||||
| bool ie_tlv_builder_init(struct ie_tlv_builder *builder); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior