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
commit72b4b20a2a9b4e2d60f2cca7beeead0b9377e270 (patch)
tree1acdfecd9a35233d7ba768bfda8b2ca7cf777bd5
parent81c9b9ca3e98e158db54da1833e33960d5ed5be6 (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 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 */