mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
b6eded84fe
commit
d30cefaac1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue