diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-17 20:42:09 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-20 17:40:28 +0100 |
commit | 80fb260a604fe49517d968ae1e9c0cc78a18b5de (patch) | |
tree | 8199744f03a992eb549b66cb8d6aa78e366aeb7c /openbsc/src/gsm_subscriber_base.c | |
parent | 55a0716da7d06860addfba1812c309eac6d82f1a (diff) |
[lchan] Release the channel ones its' usecount drops to zero
Remove the timer handling from the LCHAN and release the
channel ones the use count is dropping to zero.
Change code that was sending/using the lchan after the
release and change the send data method to warn in case
the lchan is used after it has been freed.
Diffstat (limited to 'openbsc/src/gsm_subscriber_base.c')
-rw-r--r-- | openbsc/src/gsm_subscriber_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gsm_subscriber_base.c b/openbsc/src/gsm_subscriber_base.c index 2255b127b..929834e42 100644 --- a/openbsc/src/gsm_subscriber_base.c +++ b/openbsc/src/gsm_subscriber_base.c @@ -32,6 +32,7 @@ #include <openbsc/paging.h> #include <openbsc/debug.h> #include <openbsc/paging.h> +#include <openbsc/chan_alloc.h> LLIST_HEAD(active_subscribers); void *tall_subscr_ctx; |