mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
79f2903788
commit
43b0cbe282
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue