diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-11 19:34:43 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-11 19:34:43 +0200 |
commit | 4e23d5f87f4443c5cf01cda968c1aae26ba47dc0 (patch) | |
tree | e9ab58841f423e9e8694017960a880d66881d68c /openbsc/include | |
parent | 434642498719a8ae47013f58a89199f13715d713 (diff) |
[bsc_init] When the RSL/OML connection drops, free all lchan
Free all allocated channels on the TRX that failed, go through
lchan_free to signal higher layers and then force a reset of
the channel. Make the TRX and TS unusable by setting the operational
set to 0 (not really defined).
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/chan_alloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index 2cf447c7f..d9152c61b 100644 --- a/openbsc/include/openbsc/chan_alloc.h +++ b/openbsc/include/openbsc/chan_alloc.h @@ -67,6 +67,7 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type); /* Free a logical channel (SDCCH, TCH, ...) */ void lchan_free(struct gsm_lchan *lchan); +void lchan_reset(struct gsm_lchan *lchan); /* internal.. do not use */ int _lchan_release(struct gsm_lchan *lchan, u_int8_t release_reason); |