mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gprs_bssgp.c: Return something from non void methods.
In one use the rc variable we are assigning to, in the others return 0 even if we have a FIXME there.
This commit is contained in:
@@ -276,6 +276,7 @@ static int bssgp_rx_suspend(struct msgb *msg, struct tlv_parsed *tp,
|
||||
|
||||
/* FIXME: pass the SUSPEND request to GMM */
|
||||
/* SEND SUSPEND_ACK or SUSPEND_NACK */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int bssgp_rx_resume(struct msgb *msg, struct tlv_parsed *tp,
|
||||
@@ -293,6 +294,7 @@ static int bssgp_rx_resume(struct msgb *msg, struct tlv_parsed *tp,
|
||||
|
||||
/* FIXME: pass the RESUME request to GMM */
|
||||
/* SEND RESUME_ACK or RESUME_NACK */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int bssgp_rx_fc_bvc(struct msgb *msg, struct tlv_parsed *tp,
|
||||
@@ -388,7 +390,7 @@ static int gprs_bssgp_rx_ptp(struct msgb *msg, struct tlv_parsed *tp,
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* Receive a BSSGP PDU from a BSS on a SIGNALLING BVCI */
|
||||
|
Reference in New Issue
Block a user