bsc: Fix compiler warning and return from the method with a value.
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
index 4190abf..6b8504d 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
@@ -459,7 +459,7 @@
 	struct dtap_header *header;
 	struct msgb *gsm48;
 	uint8_t *data;
-	int rc;
+	int rc, dtap_rc;
 
 	LOGP(DMSC, LOGL_DEBUG, "Rx MSC DTAP: %s\n",
 		osmo_hexdump(msg->l3h, length));
@@ -497,9 +497,10 @@
 
 	/* pass it to the filter for extra actions */
 	rc = bsc_scan_msc_msg(conn->conn, gsm48);
-	gsm0808_submit_dtap(conn->conn, gsm48, header->link_id, 1);
+	dtap_rc = gsm0808_submit_dtap(conn->conn, gsm48, header->link_id, 1);
 	if (rc == BSS_SEND_USSD)
 		bsc_send_welcome_ussd(conn->conn);
+	return dtap_rc;
 }
 
 int bsc_handle_udt(struct osmo_msc_data *msc,