From 02296af07d52dcde82d4404f2bdb53f1bb618e0b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 15 Jan 2018 23:30:06 +0100 Subject: hnbgw_hnbap: fix missing return in rx [un]successful outcome Fixes: CID#57732 CID#57733 Change-Id: Iddf76d23c2c7d5824e82708f7da013c88411e832 --- src/hnbgw_hnbap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hnbgw_hnbap.c') 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; } -- cgit v1.2.3