diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-12-28 12:08:28 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-02 11:43:06 +0100 |
commit | 454140e7fcd9c904ffbdf5b16af84e52efe9b4d4 (patch) | |
tree | ce7409a449e1e42280967b8fb5ad2db5303ed588 /openbsc/src/libbsc/chan_alloc.c | |
parent | 52fa7bd2da381cf933052806eb1fd78f3fc0967c (diff) |
lchan: Remember why a channel is broken using static strings
Remember why a channel is being marked as broken. So we can
maybe understand what happend.
Diffstat (limited to 'openbsc/src/libbsc/chan_alloc.c')
-rw-r--r-- | openbsc/src/libbsc/chan_alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c index c86556b48..d8f908770 100644 --- a/openbsc/src/libbsc/chan_alloc.c +++ b/openbsc/src/libbsc/chan_alloc.c @@ -198,6 +198,8 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type, /* clear multi rate config */ memset(&lchan->mr_conf, 0, sizeof(lchan->mr_conf)); + + lchan->broken_reason = ""; } else { struct challoc_signal_data sig; sig.bts = bts; |