mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-03 21:43:32 +00:00 
			
		
		
		
	gprs: Fix some misleading comments
This commit is contained in:
		
				
					committed by
					
						
						Neels Hofmeyr
					
				
			
			
				
	
			
			
			
						parent
						
							d6d0d8b86f
						
					
				
				
					commit
					cf1707af7f
				
			@@ -415,7 +415,7 @@ static int delete_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
 | 
				
			|||||||
			/* Deactivate the SNDCP layer */
 | 
								/* Deactivate the SNDCP layer */
 | 
				
			||||||
			sndcp_sm_deactivate_ind(&pctx->mm->gb.llme->lle[pctx->sapi], pctx->nsapi);
 | 
								sndcp_sm_deactivate_ind(&pctx->mm->gb.llme->lle[pctx->sapi], pctx->nsapi);
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			/* Activate a radio bearer */
 | 
								/* Dectivate a radio bearer */
 | 
				
			||||||
			gprs_iu_rab_deact(&pctx->mm);
 | 
								gprs_iu_rab_deact(&pctx->mm);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -458,7 +458,7 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *link)
 | 
				
			|||||||
		rc = ranap_cn_rx_co(cn_ranap_handle_co, ue, msgb_l2(oph->msg), msgb_l2len(oph->msg));
 | 
							rc = ranap_cn_rx_co(cn_ranap_handle_co, ue, msgb_l2(oph->msg), msgb_l2len(oph->msg));
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	case OSMO_PRIM(OSMO_SCU_PRIM_N_UNITDATA, PRIM_OP_INDICATION):
 | 
						case OSMO_PRIM(OSMO_SCU_PRIM_N_UNITDATA, PRIM_OP_INDICATION):
 | 
				
			||||||
		/* connection-oriented data received */
 | 
							/* connection-less data received */
 | 
				
			||||||
		printf("N-UNITDATA.ind(%s)\n", 
 | 
							printf("N-UNITDATA.ind(%s)\n", 
 | 
				
			||||||
			osmo_hexdump(msgb_l2(oph->msg), msgb_l2len(oph->msg)));
 | 
								osmo_hexdump(msgb_l2(oph->msg), msgb_l2len(oph->msg)));
 | 
				
			||||||
		rc = ranap_cn_rx_cl(cn_ranap_handle_cl, link, msgb_l2(oph->msg), msgb_l2len(oph->msg));
 | 
							rc = ranap_cn_rx_cl(cn_ranap_handle_cl, link, msgb_l2(oph->msg), msgb_l2len(oph->msg));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user