aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-31 17:16:36 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-31 17:16:36 +0200
commit2677ea547c178a545dfc34364c08b48232a04ea5 (patch)
treefbdc65b449bd986a5fd06d68decceab5d6713ae7
parent9681ce359d65060b7f9da14c3adb3bdaf9e48d11 (diff)
[GPRS] BSSGP: When we receive a BLOCK, we should not respond with UNBLOCK-ACK
-rw-r--r--openbsc/src/gprs/gprs_bssgp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c
index ea1f9f88..adf4f6e6 100644
--- a/openbsc/src/gprs/gprs_bssgp.c
+++ b/openbsc/src/gprs/gprs_bssgp.c
@@ -529,11 +529,10 @@ static int gprs_bssgp_rx_sign(struct msgb *msg, struct tlv_parsed *tp,
break;
case BSSGP_PDUT_BVC_BLOCK:
/* BSS tells us that BVC shall be blocked */
- DEBUGP(DBSSGP, "BSSGP BVC BLOCK ");
if (!TLVP_PRESENT(tp, BSSGP_IE_BVCI) ||
!TLVP_PRESENT(tp, BSSGP_IE_CAUSE))
goto err_mand_ie;
- rc = bssgp_rx_bvc_unblock(msg, tp);
+ rc = bssgp_rx_bvc_block(msg, tp);
break;
case BSSGP_PDUT_BVC_UNBLOCK:
/* BSS tells us that BVC shall be unblocked */