sgsn: Remove uneeded f_gtpu_send in f_gtpu_xceive_mo

It's not needed for the functionality/scenario of f_gtpu_xceive_mo. It
probably was left in when creating it from f_gtpu_xceive_mo.

Change-Id: Ide226f8501c4598e2bfaa5f1ea62c3ff20807ce4
This commit is contained in:
Pau Espin 2018-07-18 13:43:44 +02:00 committed by Harald Welte
parent 940134537a
commit 8be4d1920d
1 changed files with 1 additions and 1 deletions

View File

@ -1117,12 +1117,12 @@ private function f_gtpu_xceive_mt(inout PdpActPars apars, octetstring payload) r
}
}
/* Transceive given 'payload' as MT message from Gb -> OsmoSGSN -> GTP */
private function f_gtpu_xceive_mo(inout PdpActPars apars, octetstring payload) runs on BSSGP_ConnHdlr {
/* Send PDU via SNDCP/LLC/BSSGP/NS via simulated MS/PCU to the SGSN */
var GtpPeer peer := valueof(ts_GtpPeerU(apars.sgsn_ip_u));
var PDU_SN sndcp := valueof(ts_SN_UD(apars.nsapi, payload));
BSSGP.send(ts_LLC_UI(enc_PDU_SN(sndcp), apars.sapi, '0'B, 0));
f_gtpu_send(apars, payload);
/* Expect PDU via GTP from SGSN on simulated GGSN */
alt {
[] GTP.receive(tr_GTPU_GPDU(peer, apars.ggsn_tei_u, payload));