diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-23 21:33:15 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-01 11:32:47 +0100 |
commit | 70ae5d3000edd12aee38497a6f541595a8c7dee8 (patch) | |
tree | 397a109e935f59783dc1c9b82b96b93b2463a696 /openbsc/include | |
parent | 6d818839a9febc5d8ff970b16822fe86f551f266 (diff) |
nitb: Release the channel if there is nothing on it
This is more a work around and one still needs to implement a
proper dispatch on the opening of the connection. If there is no
operation left, no transaction and no silent call, close down the
channel.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/transaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h index acb2e6c8b..04abb9c41 100644 --- a/openbsc/include/openbsc/transaction.h +++ b/openbsc/include/openbsc/transaction.h @@ -72,5 +72,6 @@ void trans_free(struct gsm_trans *trans); int trans_assign_trans_id(struct gsm_subscriber *subscr, uint8_t protocol, uint8_t ti_flag); +int trans_has_conn(const struct gsm_subscriber_connection *conn); #endif |