diff options
author | Holger Freyther <zecke@selfish.org> | 2009-01-01 03:46:11 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-01-01 03:46:11 +0000 |
commit | 67b4b9a017647b7d28343a352778920633ebf575 (patch) | |
tree | 50927c6f0fb08f82cb32cedb8daf609211703293 /include/openbsc/abis_rsl.h | |
parent | 3eaa792b21d19dd1cd512b87a391826cf1f3fef4 (diff) |
Do not call rsl_chan_release directly but use the use_count of the lchan
Call use_lchan early in allocate_loc_updating_req, do not directly call
rsl_chan_release but go through channel alloc to take the use_count into
account.
Diffstat (limited to 'include/openbsc/abis_rsl.h')
-rw-r--r-- | include/openbsc/abis_rsl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openbsc/abis_rsl.h b/include/openbsc/abis_rsl.h index a0e8cba62..e7fea8088 100644 --- a/include/openbsc/abis_rsl.h +++ b/include/openbsc/abis_rsl.h @@ -345,7 +345,6 @@ int rsl_chan_activate(struct gsm_bts *bts, u_int8_t chan_nr, u_int8_t ta); int rsl_chan_activate_tch_f(struct gsm_bts_trx_ts *ts); int rsl_chan_activate_sdcch(struct gsm_bts_trx_ts *ts); -int rsl_chan_release(struct gsm_lchan *lchan); int rsl_paging_cmd(struct gsm_bts *bts, u_int8_t paging_group, u_int8_t len, u_int8_t *ms_ident, u_int8_t chan_needed); int rsl_paging_cmd_imsi(struct gsm_bts *bts, u_int8_t chan_needed, const char *imsi_str); @@ -357,6 +356,7 @@ int abis_rsl_rcvmsg(struct msgb *msg); /* to be provided by external code */ int abis_rsl_sendmsg(struct msgb *msg); +int rsl_chan_release(struct gsm_lchan *lchan); #endif /* RSL_MT_H */ |