[GPRS] BSSGP: When we receive a BLOCK, we should not respond with UNBLOCK-ACK

This commit is contained in:
Harald Welte 2010-05-31 17:16:36 +02:00
parent 81c9b9ca3e
commit 72b4b20a2a
1 changed files with 1 additions and 2 deletions

View File

@ -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 */