aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-01-15 23:30:06 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-01-15 23:30:57 +0100
commit02296af07d52dcde82d4404f2bdb53f1bb618e0b (patch)
tree42f608cba8accd42a2ddaabbee80f0e619df60d9
parente3644ac4765eb8304d7cebeadc4c5c133980867e (diff)
hnbgw_hnbap: fix missing return in rx [un]successful outcome
Fixes: CID#57732 CID#57733 Change-Id: Iddf76d23c2c7d5824e82708f7da013c88411e832
-rw-r--r--src/hnbgw_hnbap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 058a42a..fab520d 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -522,12 +522,14 @@ static int hnbgw_rx_initiating_msg(struct hnb_context *hnb, InitiatingMessage_t
static int hnbgw_rx_successful_outcome_msg(struct hnb_context *hnb, SuccessfulOutcome_t *msg)
{
-
+ /* We don't care much about HNBAP */
+ return 0;
}
static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, UnsuccessfulOutcome_t *msg)
{
-
+ /* We don't care much about HNBAP */
+ return 0;
}