summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-12-29 23:27:11 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-01-15 00:02:54 +0100
commitc55f0a54150e26866aa7e8c65099f28add0d6761 (patch)
treebb54e6ed5d9979f75b9187c8dc4572cc0d0e2a06
parent7173f63eed051a8b1e533682633e9c23859238ed (diff)
Revert "libbsc: Log if a channel is freed with lchan->state != LCHAN_S_NONE"
In case of a failed channel we still want the channel to not be re-allocated right away but keep it closed/unused for (T3109 + T311). rsl_rx_rf_chan_rel_ack has a check to not set the channel to S_NONE in case the channel is in the error state. Add the camp Harald added a timer to set the channel back to the none state in case the RF Channel Release is not acked. This reverts commit fc462dd59ee4772f06c9f2477b36b3f166a8e74b.
-rw-r--r--openbsc/src/libbsc/chan_alloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c
index 6f4fe20f8..c0bdc1be9 100644
--- a/openbsc/src/libbsc/chan_alloc.c
+++ b/openbsc/src/libbsc/chan_alloc.c
@@ -299,10 +299,6 @@ void lchan_free(struct gsm_lchan *lchan)
sig.type = lchan->type;
lchan->type = GSM_LCHAN_NONE;
- if (lchan->state != LCHAN_S_NONE) {
- LOGP(DRLL, LOGL_NOTICE, "Freeing lchan with state %s - setting to NONE\n", gsm_lchans_name(lchan->state));
- lchan->state = LCHAN_S_NONE;
- }
if (lchan->conn) {
struct lchan_signal_data sig;