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/.
Max gerrit-no-reply at lists.osmocom.orgMax has uploaded this change for review. ( https://gerrit.osmocom.org/13353 Change subject: trxcon: use bool for fbsb_conf_sent ...................................................................... trxcon: use bool for fbsb_conf_sent It's only used as a boolean value so let's set proper type for it. Change-Id: Iaf50cdd19ac2139ee2d625671410a486edae2999 --- M src/host/trxcon/l1ctl.c M src/host/trxcon/l1ctl_link.h 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/53/13353/1 diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c index 2f1d720..eb14832 100644 --- a/src/host/trxcon/l1ctl.c +++ b/src/host/trxcon/l1ctl.c @@ -168,7 +168,7 @@ conf->initial_freq_err = 0; /* Ask SCH handler not to send L1CTL_FBSB_CONF anymore */ - l1l->fbsb_conf_sent = 1; + l1l->fbsb_conf_sent = true; /* Abort FBSB expire timer */ if (osmo_timer_pending(&l1l->fbsb_timer)) @@ -314,7 +314,7 @@ conf->bsic = 0; /* Ask SCH handler not to send L1CTL_FBSB_CONF anymore */ - l1l->fbsb_conf_sent = 1; + l1l->fbsb_conf_sent = true; l1ctl_link_send(l1l, msg); } @@ -350,7 +350,7 @@ sched_trx_configure_ts(l1l->trx, 0, ch_config); /* Ask SCH handler to send L1CTL_FBSB_CONF */ - l1l->fbsb_conf_sent = 0; + l1l->fbsb_conf_sent = false; /* Only if current ARFCN differs */ if (l1l->trx->band_arfcn != band_arfcn) { diff --git a/src/host/trxcon/l1ctl_link.h b/src/host/trxcon/l1ctl_link.h index da64419..a333e40 100644 --- a/src/host/trxcon/l1ctl_link.h +++ b/src/host/trxcon/l1ctl_link.h @@ -35,7 +35,7 @@ /* L1CTL handlers specific */ struct osmo_timer_list fbsb_timer; - uint8_t fbsb_conf_sent; + bool fbsb_conf_sent; /* Shutdown callback */ void (*shutdown_cb)(struct l1ctl_link *l1l); -- To view, visit https://gerrit.osmocom.org/13353 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iaf50cdd19ac2139ee2d625671410a486edae2999 Gerrit-Change-Number: 13353 Gerrit-PatchSet: 1 Gerrit-Owner: Max <msuraev at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190321/4bd1529e/attachment.htm>