diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index c59c0a1f9..8115d8719 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -342,6 +342,11 @@ void lchan_free(struct gsm_lchan *lchan) * There was an error with the TRX and we need to forget * any state so that a lchan can be allocated again after * the trx is fully usable. + * + * This should be called after lchan_free to force a channel + * be available for allocation again. This means that this + * method will stop the "delay after error"-timer and set the + * state to LCHAN_S_NONE. */ void lchan_reset(struct gsm_lchan *lchan) {