aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-14 16:32:44 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-14 16:32:44 +0100
commitda87154093d6db54e49d9fcb47be5d0ab09b44ed (patch)
treeef1edaab428f5274e89896bdd9b2c951c46f1a93 /openbsc
parentebec58e8bafd644b5020a21d350b0d9b3afb5cd5 (diff)
OM2000: Make sure the IS and CON lists are kept in order
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/abis_om2000_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/abis_om2000_vty.c b/openbsc/src/abis_om2000_vty.c
index aeb56204..5949c869 100644
--- a/openbsc/src/abis_om2000_vty.c
+++ b/openbsc/src/abis_om2000_vty.c
@@ -254,7 +254,7 @@ static void add_con_list(struct gsm_bts *bts, uint8_t cg, uint16_t ccp,
ent->tag = tag;
ent->tei = tei;
- llist_add(&ent->list, &bts->rbs2000.con.conn_groups);
+ llist_add_tail(&ent->list, &bts->rbs2000.con.conn_groups);
}
static int del_con_list(struct gsm_bts *bts, uint8_t cg, uint16_t ccp,
@@ -356,7 +356,7 @@ DEFUN(cfg_bts_is_conn_list, cfg_bts_is_conn_list_cmd,
grp->icp1 = icp1;
grp->icp2 = icp2;
grp->ci = ci;
- llist_add(&grp->list, &bts->rbs2000.is.conn_groups);
+ llist_add_tail(&grp->list, &bts->rbs2000.is.conn_groups);
} else {
llist_for_each_entry_safe(grp, grp2, &bts->rbs2000.is.conn_groups, list) {
if (grp->icp1 == icp1 && grp->icp2 == icp2