From 72b4b20a2a9b4e2d60f2cca7beeead0b9377e270 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 31 May 2010 17:16:36 +0200 Subject: [PATCH] [GPRS] BSSGP: When we receive a BLOCK, we should not respond with UNBLOCK-ACK --- openbsc/src/gprs/gprs_bssgp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c index ea1f9f88c..adf4f6e6c 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 */