Change in libosmocore[master]: gprs_ns: Use gprs_ns_tx_alive() instead of gprs_ns_tx_simple()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Feb 19 22:45:38 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/12966


Change subject: gprs_ns: Use gprs_ns_tx_alive() instead of gprs_ns_tx_simple()
......................................................................

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
---
M src/gb/gprs_ns.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/66/12966/1

diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index 1281c9f..5c75694 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -960,7 +960,7 @@
 	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 @@
 		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;

-- 
To view, visit https://gerrit.osmocom.org/12966
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53d410d13540d389096c40425e1fa2eb7460b16b
Gerrit-Change-Number: 12966
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190219/55b8c32d/attachment.htm>


More information about the gerrit-log mailing list