mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-31 15:33:59 +01:00 
			
		
		
		
	LLC: fix parsing of AL-FINAL
This commit is contained in:
		
							parent
							
								
									2840dc5f07
								
							
						
					
					
						commit
						194bf12a0a
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -122,8 +122,7 @@ int tetra_llc_pdu_parse(struct tetra_llc_pdu *lpp, uint8_t *buf, int len) | |||
| 		if (*cur++) { | ||||
| 			/* FINAL */ | ||||
| 			cur++; | ||||
| 			cur += 2; | ||||
| 			lpp->ns = bits_to_uint(cur, 5); cur += 5; | ||||
| 			lpp->ns = bits_to_uint(cur, 3); cur += 3; | ||||
| 			lpp->ss = bits_to_uint(cur, 8); cur += 8; | ||||
| 			if (*cur++) { | ||||
| 				/* FIXME: FCS */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Welte
						Harald Welte