diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-14 18:03:06 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-14 18:26:09 +0800 |
commit | 2a9285c028ce061128620382eb5e502669bb56ed (patch) | |
tree | 588f75f0ceca540bc916c23d9bbe7c3cc8aefa7b /openbsc/src/gsm_04_08.c | |
parent | 8e78fa7862b6adf5f668455dfb3ed09642ba8e6b (diff) |
bsc_api: Move some parts over to the BSC API.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index b17e1da07..ed2b4e5b0 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -2908,25 +2908,6 @@ int gsm0408_rcvmsg(struct msgb *msg, u_int8_t link_id) return rc; } -/* dequeue messages to layer 4 */ -int bsc_upqueue(struct gsm_network *net) -{ - struct gsm_mncc *mncc; - struct msgb *msg; - int work = 0; - - if (net) - while ((msg = msgb_dequeue(&net->upqueue))) { - mncc = (struct gsm_mncc *)msg->data; - if (net->mncc_recv) - net->mncc_recv(net, mncc->msg_type, mncc); - work = 1; /* work done */ - talloc_free(msg); - } - - return work; -} - /* * This will be ran by the linker when loading the DSO. We use it to * do system initialization, e.g. registration of signal handlers. |