HACK: Work around IPA CCM bug in OsmoBSC

OsmoBSC has some misunderstanding about how IPA CCM works and hence
we need to work around this until that bug is fixed in OsmoBSC.

See https://osmocom.org/issues/2718

Change-Id: I304535d28a165f76a0a140dc0a15dd81a9db28c8
Related: OS#2718
This commit is contained in:
Harald Welte 2017-12-15 15:07:21 +01:00 committed by Daniel Willmann
parent 57dc293de9
commit 3da3379ef8
1 changed files with 4 additions and 1 deletions

View File

@ -304,10 +304,13 @@ private function f_ccm_rx(PDU_IPA_CCM ccm) runs on IPA_Emulation_CT {
f_ccm_tx(valueof(ts_IPA_PONG));
}
case (IPAC_MSGT_ID_ACK) {
f_ccm_tx(valueof(ts_IPA_ACK));
//f_ccm_tx(valueof(ts_IPA_ACK));
f_send_IPA_EVT(t_ASP_IPA_EVT_UD(ASP_IPA_EVENT_ID_ACK));
}
case (IPAC_MSGT_ID_GET) {
f_ccm_tx(f_ccm_make_id_resp(ccm));
/* work around broken OsmoBSC stack... */
f_ccm_tx(valueof(ts_IPA_ACK));
}
case else {
log("Unknown/unsupported IPA CCM message type", ccm);