Change in osmo-bsc[master]: vty/bts_resend_cmd: Use gsm_bts_set_system_infos() to increment chang...

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Jun 21 13:53:58 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18938 )


Change subject: vty/bts_resend_cmd: Use gsm_bts_set_system_infos() to increment changemark
......................................................................

vty/bts_resend_cmd: Use gsm_bts_set_system_infos() to increment changemark

We assume the SI shall be re-sent because something has changed.  This
means that change_mark should be incremented.  Let's call
gsm_bts_set_system_infos() which already does the trick.

Change-Id: I73d9bd3cddc561f3a7af8bcc225fac126dca3f78
Closes: OS#3679
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/38/18938/1

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 1ab10d3..6bdbb21 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -4761,7 +4761,6 @@
       "Re-generate + re-send BCCH SYSTEM INFORMATION\n")
 {
 	struct gsm_network *gsmnet;
-	struct gsm_bts_trx *trx;
 	struct gsm_bts *bts;
 	unsigned int bts_nr;
 
@@ -4780,8 +4779,7 @@
 		return CMD_WARNING;
 	}
 
-	llist_for_each_entry_reverse(trx, &bts->trx_list, list)
-		gsm_bts_trx_set_system_infos(trx);
+	gsm_bts_set_system_infos(bts);
 
 	return CMD_SUCCESS;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18938
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I73d9bd3cddc561f3a7af8bcc225fac126dca3f78
Gerrit-Change-Number: 18938
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200621/e7a32ffc/attachment.htm>


More information about the gerrit-log mailing list