diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-24 10:45:07 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-24 10:45:07 +0100 |
commit | 82a8d6e3931dea7f127f84e9f6c4102d858410da (patch) | |
tree | cac4411e66b7dd968f0401a3051903caaa7c55f6 /openbsc/src/gsm_subscriber_base.c | |
parent | 1226c939375890d07c047e1de5e9e48f5e101854 (diff) |
Specify a release reason for the lchan
In case the put_lchan is making the refcount drop to zero use the
release reason specified in the put_lchan call. This is used by the
BSC MSC IP implementation for the assignment handling where the old
channel is getting closed with a local end release (1).
Diffstat (limited to 'openbsc/src/gsm_subscriber_base.c')
-rw-r--r-- | openbsc/src/gsm_subscriber_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_subscriber_base.c b/openbsc/src/gsm_subscriber_base.c index 48e4510a2..e53488a84 100644 --- a/openbsc/src/gsm_subscriber_base.c +++ b/openbsc/src/gsm_subscriber_base.c @@ -207,7 +207,7 @@ void subscr_put_channel(struct gsm_lchan *lchan) * will listen to the paging requests before we timeout */ - put_lchan(lchan); + put_lchan(lchan, 0); if (lchan->subscr && !llist_empty(&lchan->subscr->requests)) subscr_send_paging_request(lchan->subscr); |