summaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-02-19 11:36:52 +0100
committerHarald Welte <laforge@gnumonks.org>2019-02-19 23:45:10 +0100
commit4091f929a1aee009218ec36259cb78b2d7c6460d (patch)
treee36cbd0235bf24217d2389c37501bd55440b0114 /src/gb
parent6a469e13e3415bc5cee01e160d470df99c8b2ebe (diff)
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
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gprs_ns.c4
1 files changed, 2 insertions, 2 deletions
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;