diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-12-23 00:16:34 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-01-01 17:23:42 +0100 |
commit | e8e432dd5904248234dab7c732269553a7d1d8de (patch) | |
tree | 743e57b13606db516ebcac608f52e29c3503d3b9 /openbsc/src/mncc.c | |
parent | fea236e27c143a84a8fa3566510bce8702a349da (diff) |
MNCC: remove 'upqueue'
The MNCC messages now again get directly handled by the net->mncc_recv()
callback. If the callee wants to put them in a queue, it' his business
to do that.
Diffstat (limited to 'openbsc/src/mncc.c')
-rw-r--r-- | openbsc/src/mncc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/mncc.c b/openbsc/src/mncc.c index 103ad76ee..d20b4efda 100644 --- a/openbsc/src/mncc.c +++ b/openbsc/src/mncc.c @@ -110,5 +110,7 @@ void mncc_set_cause(struct gsm_mncc *data, int loc, int val) void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg) { - msgb_enqueue(&net->upqueue, msg); + struct gsm_mncc *mncc = msgb_data(msg); + + net->mncc_recv(net, mncc->msg_type, mncc); } |