summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:12:15 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:12:15 +0800
commitd30cefaac153377f55c57be31463633a233bb2b6 (patch)
treeb91ef3e84b89d82e442dc36723108db8996a6ff3 /openbsc
parentb6eded84fedc625e3fc54f11be27199240bacc50 (diff)
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.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/gprs_bssgp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c
index 0d60ac9c..fa994514 100644
--- a/openbsc/src/gprs/gprs_bssgp.c
+++ b/openbsc/src/gprs/gprs_bssgp.c
@@ -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 */