mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-31 07:24:01 +01:00 
			
		
		
		
	upper mac: fix printing of certain PDUs (remove additional newline)
This commit is contained in:
		
							parent
							
								
									ba1ec17db6
								
							
						
					
					
						commit
						51147d4e7a
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -126,7 +126,7 @@ static void rx_resrc(struct tetra_tmvsap_prim *tmvp) | |||
| 		printf("ChanAlloc=%s ", tetra_alloc_dump(&rsd.cad)); | ||||
| 
 | ||||
| 	if (rsd.slot_granting.pres) | ||||
| 		printf("SlotGrant=%u/%u\n", rsd.slot_granting.nr_slots, | ||||
| 		printf("SlotGrant=%u/%u ", rsd.slot_granting.nr_slots, | ||||
| 			rsd.slot_granting.delay); | ||||
| 
 | ||||
| 	if (rsd.macpdu_length > 0 && rsd.encryption_mode == 0) { | ||||
|  | @ -246,7 +246,11 @@ static int rx_tmv_unitdata_ind(struct tetra_tmvsap_prim *tmvp) | |||
| 				printf("FRAG/END FRAG: "); | ||||
| 				rx_tm_sdu(tup->mac_block+4, 100 /*FIXME*/); | ||||
| 				printf("\n"); | ||||
| 			} | ||||
| 			} else | ||||
| 				printf("FRAG/END END\n"); | ||||
| 			break; | ||||
| 		default: | ||||
| 			printf("STRANGE pdu=%u\n", pdu_type); | ||||
| 			break; | ||||
| 		} | ||||
| 		break; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Welte
						Harald Welte