From 4091f929a1aee009218ec36259cb78b2d7c6460d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Feb 2019 11:36:52 +0100 Subject: gprs_ns: Use gprs_ns_tx_alive() instead of gprs_ns_tx_simple() If we use gprs_ns_tx_alive() we will get logging for free. Change-Id: I53d410d13540d389096c40425e1fa2eb7460b16b --- src/gb/gprs_ns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gb') diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index 1281c9f4..5c756947 100644 --- a/src/gb/gprs_ns.c +++ b/src/gb/gprs_ns.c @@ -960,7 +960,7 @@ static int gprs_ns_rx_reset(struct gprs_nsvc **nsvc, struct msgb *msg) rc = gprs_ns_tx_reset_ack(*nsvc); /* start the test procedure */ - gprs_ns_tx_simple((*nsvc), NS_PDUT_ALIVE); + gprs_ns_tx_alive(*nsvc); nsvc_start_timer((*nsvc), NSVC_TIMER_TNS_TEST); return rc; @@ -1084,7 +1084,7 @@ static int gprs_ns_rx_reset_ack(struct gprs_nsvc **nsvc, struct msgb *msg) osmo_timer_del(&(*nsvc)->timer); } /* Initiate TEST proc.: Send ALIVE and start timer */ - rc = gprs_ns_tx_simple(*nsvc, NS_PDUT_ALIVE); + rc = gprs_ns_tx_alive(*nsvc); nsvc_start_timer(*nsvc, NSVC_TIMER_TNS_TEST); return rc; -- cgit v1.2.3