diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2021-11-19 14:21:24 +0100 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2021-11-19 14:24:41 +0100 |
commit | 43b0cbe282f2f8d3772b2602384cfb76b6c9b880 (patch) | |
tree | 00c6142b52a1985e4cc6afdcc97e4b2f56ce95c6 /src/gb | |
parent | 79f2903788de2c24c134e7abad345b8a5702195d (diff) |
bssgp_bvc_fsm: Move log message to the correct place
The log message is very confusing if printed for PtP-BVCI as well. Move
it into the correct if branch.
Change-Id: I0359443ddc52108b492f741005c4699e06b40183
Diffstat (limited to 'src/gb')
-rw-r--r-- | src/gb/bssgp_bvc_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/bssgp_bvc_fsm.c b/src/gb/bssgp_bvc_fsm.c index ce9079d5..664ad092 100644 --- a/src/gb/bssgp_bvc_fsm.c +++ b/src/gb/bssgp_bvc_fsm.c @@ -415,8 +415,8 @@ static void bssgp_bvc_fsm_unblocked(struct osmo_fsm_inst *fi, uint32_t event, vo rx = data; tp = (const struct tlv_parsed *) msgb_bcid(rx); /* If BVC-UNBLOCK-ACK PDU is received by an BSS for the signalling BVC, the PDU is ignored. */ - LOGPFSML(fi, LOGL_ERROR, "Rx BVC-UNBLOCK-ACK on BVCI=0 is illegal\n"); if (bfp->bvci == 0) { + LOGPFSML(fi, LOGL_ERROR, "Rx BVC-UNBLOCK-ACK on BVCI=0 is illegal\n"); if (!bfp->role_sgsn) break; _tx_status(fi, BSSGP_CAUSE_SEM_INCORR_PDU, rx); |