Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1977

to look at the new patch set (#5).

bts: revert trx shutdown order

The BTS Transcievers are stored in a linked list. When the BTS
is shut down, the rf is disabled and the trx is then closed.
this patch reverts the order of the list processing.

Change-Id: I18485de586b402610f9e98053d69e92bc9b18dc2
---
M src/common/bts.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/77/1977/5

diff --git a/src/common/bts.c b/src/common/bts.c
index 540caaa..cb5284d 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -207,7 +207,7 @@
        LOGP(DOML, LOGL_NOTICE, "Shutting down BTS %u, Reason %s\n",
                bts->nr, reason);
 
-       llist_for_each_entry(trx, &bts->trx_list, list) {
+       llist_for_each_entry_reverse(trx, &bts->trx_list, list) {
                bts_model_trx_deact_rf(trx);
                bts_model_trx_close(trx);
        }

-- 
To view, visit https://gerrit.osmocom.org/1977
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I18485de586b402610f9e98053d69e92bc9b18dc2
Gerrit-PatchSet: 5
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to