diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-12 00:34:35 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-09 18:34:14 +0100 |
commit | 32f98d8c7a40c5012191003fff168ecc0818023e (patch) | |
tree | 8205bd9d53639fdd288bb28f8ac5dda03dfe8765 /openbsc/src/libvlr | |
parent | 6bf898d6383483dc5b7df23a2326e1b6246e3f7f (diff) |
msc_vlr tests: add tests to reject concurrenct conns
Change-Id: I5c04b1cf0ad302c35968e0f8dfb122997f3f7bf1
Diffstat (limited to 'openbsc/src/libvlr')
-rw-r--r-- | openbsc/src/libvlr/vlr_lu_fsm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/openbsc/src/libvlr/vlr_lu_fsm.c b/openbsc/src/libvlr/vlr_lu_fsm.c index dffc0a180..d034f4b0f 100644 --- a/openbsc/src/libvlr/vlr_lu_fsm.c +++ b/openbsc/src/libvlr/vlr_lu_fsm.c @@ -865,11 +865,9 @@ static int assoc_lfp_with_sub(struct osmo_fsm_inst *fi, struct vlr_subscr *vsub) LOGPFSML(fi, LOGL_ERROR, "A Location Updating process is already pending for" " this subscriber. Aborting.\n"); - /* Free this second LU attempt */ - osmo_fsm_inst_term(fi, OSMO_FSM_TERM_ERROR, NULL); - /* Also get rid of the pending LU attempt. It's all wrong. */ - osmo_fsm_inst_term(vsub->lu_fsm, OSMO_FSM_TERM_ERROR, NULL); - /* TODO anything else? terminate the conn? */ + /* Also get rid of the other pending LU attempt? */ + /*lu_fsm_failure(vsub->lu_fsm, GSM48_REJECT_CONGESTION);*/ + lu_fsm_failure(fi, GSM48_REJECT_CONGESTION); return -EINVAL; } vsub->lu_fsm = fi; |