summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCiaby <ciaby@autistici.org>2014-03-12 16:50:49 +0100
committerCiaby <ciaby@autistici.org>2014-03-12 16:50:49 +0100
commit15d6fe5b2959b3d28d0006d73ca89033061aa660 (patch)
tree0688bd38fb042b1f9192ebfa6eca3443897993d7
parent426936a6a7971c9ad4d4ced4f3427137ca682a89 (diff)
Added workaround for BROKEN channel state, increased version number to -rhizo2.ciaby/rhizomatica
-rw-r--r--debian/changelog6
-rw-r--r--openbsc/src/libbsc/abis_rsl.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 069935c..d6eb1b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+openbsc (0.13.0+git1-rhizo2) precise; urgency=low
+
+ * Added workaround for BROKEN channel state.
+
+ -- ciaby <ciaby@lila> Wed, 12 Mar 2014 16:50:20 +0100
+
openbsc (0.13.0+git1-rhizo1) precise; urgency=low
* Bumped version number, added SMPP support.
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index f53ba84..bd9db23 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -197,10 +197,10 @@ static void lchan_act_tmr_cb(void *data)
struct gsm_lchan *lchan = data;
LOGP(DRSL, LOGL_ERROR,
- "%s Timeout during activation. Marked as broken.\n",
+ "%s Timeout during activation. Should be marked as broken, releasing it as workaround.\n",
gsm_lchan_name(lchan));
- rsl_lchan_set_state(lchan, LCHAN_S_BROKEN);
+ rsl_lchan_set_state(lchan, LCHAN_S_NONE);
lchan_free(lchan);
}
@@ -209,10 +209,10 @@ static void lchan_deact_tmr_cb(void *data)
struct gsm_lchan *lchan = data;
LOGP(DRSL, LOGL_ERROR,
- "%s Timeout during deactivation! Marked as broken.\n",
+ "%s Timeout during deactivation! Should be marked as broken, releasing it as workaround.\n",
gsm_lchan_name(lchan));
- rsl_lchan_set_state(lchan, LCHAN_S_BROKEN);
+ rsl_lchan_set_state(lchan, LCHAN_S_NONE);
lchan_free(lchan);
}