ns2: fsm: add comment don't answer on a STATUS with a STATUS

Change-Id: Ib8f700f9193a96a7bada3b0293dcecf6a05d6efc
This commit is contained in:
Alexander Couzens 2021-09-07 15:30:26 +02:00 committed by laforge
parent a2b846be2f
commit cc1621e476
1 changed files with 1 additions and 0 deletions

View File

@ -861,6 +861,7 @@ int ns2_vc_rx(struct gprs_ns2_vc *nsvc, struct msgb *msg, struct tlv_parsed *tp)
/* TODO: handle BLOCK/UNBLOCK/ALIVE with different VCI */
if (ns2_validate(nsvc, nsh->pdu_type, msg, tp, &cause)) {
/* don't answer on a STATUS with a STATUS */
if (nsh->pdu_type != NS_PDUT_STATUS) {
rc = ns2_tx_status(nsvc, cause, 0, msg);
goto out;