summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte2010-12-22 22:55:30 +0100
committerAndreas Eversberg2011-02-20 11:32:59 +0100
commitdd2ae2236f653cbbca28979e81bf8a8eb7b049fb (patch)
treee63c52c1059aea2ba2f8496d64310d1d31b26d90
parentgsm tracing: as we no longer link with OpenBSC, we don't know the net name (diff)
downloadlcr-dd2ae2236f653cbbca28979e81bf8a8eb7b049fb.tar.gz
lcr-dd2ae2236f653cbbca28979e81bf8a8eb7b049fb.tar.xz
lcr-dd2ae2236f653cbbca28979e81bf8a8eb7b049fb.zip
mncc_sock: properly append an element to the end of the list
-rw-r--r--gsm_bs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsm_bs.cpp b/gsm_bs.cpp
index 78ef8af..8bb647f 100644
--- a/gsm_bs.cpp
+++ b/gsm_bs.cpp
@@ -815,6 +815,7 @@ static int mncc_q_enqueue(struct gsm_mncc *mncc, unsigned int len)
} else {
/* append to tail of list */
gsm->mncc_q_tail->next = qe;
+ gsm->mncc_q_tail = qe;
}
gsm->mncc_lfd.when |= LCR_FD_WRITE;