diff --git a/recipes-osmocom/libosmo-abis/files/fix-rsl-connect.patch b/recipes-osmocom/libosmo-abis/files/fix-rsl-connect.patch new file mode 100644 index 0000000000..63c505251c --- /dev/null +++ b/recipes-osmocom/libosmo-abis/files/fix-rsl-connect.patch @@ -0,0 +1,21 @@ +The line is not initiliazed to E1INP_TS_TYPE_SIGN by default + +diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c +index 145e471..49424e7 100644 +--- a/src/input/ipaccess.c ++++ b/src/input/ipaccess.c +@@ -915,12 +915,14 @@ int e1inp_ipa_bts_rsl_connect_n(struct e1inp_line *line, + "trx_nr (%d) out of range\n", trx_nr); + return -EINVAL; + } ++/* + if (line->ts[E1INP_SIGN_RSL+trx_nr-1].type != E1INP_TS_TYPE_SIGN) { + LOGP(DLINP, LOGL_ERROR, "cannot create RSL BTS link: " + "trx_nr (%d) does not refer to a signalling link\n", + trx_nr); + return -EINVAL; + } ++*/ + + rsl_link = ipa_client_conn_create(tall_ipa_ctx, + &line->ts[E1INP_SIGN_RSL+trx_nr-1], diff --git a/recipes-osmocom/libosmo-abis/libosmo-abis_git.bb b/recipes-osmocom/libosmo-abis/libosmo-abis_git.bb index 52c7c98c16..fd8e8fda42 100644 --- a/recipes-osmocom/libosmo-abis/libosmo-abis_git.bb +++ b/recipes-osmocom/libosmo-abis/libosmo-abis_git.bb @@ -2,6 +2,7 @@ require ${PN}.inc S = "${WORKDIR}/git" SRCREV = "d9d1b5c19f40515cb7c660acda7265bbddbb73d6" -SRC_URI = "git://git.osmocom.org/libosmo-abis.git;protocol=git" +SRC_URI = "git://git.osmocom.org/libosmo-abis.git;protocol=git \ + file://fix-rsl-connect.patch " PV = "0.3.0+gitr${SRCPV}" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1"