aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_08.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-22 19:02:27 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-22 19:03:40 +0100
commit434bb3f39f86cd40b2b737ce5ecc220fa193d5dd (patch)
tree13fb60be68f9ea522f95723b052c6c276b68206e /openbsc/src/gsm_04_08.c
parent7ce5e259c9def834c6fdd6aa17a8b1a145f8e49a (diff)
MNCC: introduce mncc_upq_enqueue() wrapper around msgb_enqueue()
This wrapper will allow us to add queue related code at one single location in the code as opposed to three locations.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r--openbsc/src/gsm_04_08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 521dab41c..5eb6a241c 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -1330,7 +1330,7 @@ static int mncc_recvmsg(struct gsm_network *net, struct gsm_trans *trans,
if (!msg)
return -ENOMEM;
memcpy(msg->data, mncc, sizeof(struct gsm_mncc));
- msgb_enqueue(&net->upqueue, msg);
+ mncc_upq_enqueue(net, msg);
return 0;
}