diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-06 14:44:15 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-06 14:52:50 +0100 |
commit | 913bc032b9f1b18cdcf8f15bdb663879c415c762 (patch) | |
tree | 40c5dd55db481e76d36507c669d3ac6ab627e186 /openbsc/src/mncc.c | |
parent | 59234a3eb28ef9c560518a18c956802a63589183 (diff) |
mncc: Move the cc_tx_to_mncc code into the libbsc.a
The trau_mux likes to call cc_tx_to_mncc for each received
frame from the E1 link. Using a signal for each audio frame
is messy as well. The best thing I could think of is to put
this into the BSC to deref the pointer. The other option would
be to include the gsm_data.h in the mncc.h header and have
the method as inline.
Diffstat (limited to 'openbsc/src/mncc.c')
-rw-r--r-- | openbsc/src/mncc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/mncc.c b/openbsc/src/mncc.c index 34093a8b1..3630b91b4 100644 --- a/openbsc/src/mncc.c +++ b/openbsc/src/mncc.c @@ -108,7 +108,3 @@ void mncc_set_cause(struct gsm_mncc *data, int loc, int val) data->cause.value = val; } -void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg) -{ - net->mncc_recv(net, msg); -} |