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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/20077 ) Change subject: vty: add multi-ARFCN specific warning for chan N > 0 ...................................................................... vty: add multi-ARFCN specific warning for chan N > 0 Change-Id: I12d7c466a9a428a384233c4377627e262f165401 Related: OS#4636 --- M CommonLibs/trx_vty.c 1 file changed, 12 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c index 1cf4f5a..3fcf888 100644 --- a/CommonLibs/trx_vty.c +++ b/CommonLibs/trx_vty.c @@ -520,6 +520,12 @@ { struct trx_chan *chan = vty->index; + if (chan->trx->cfg.multi_arfcn && chan->idx > 0) { + vty_out(vty, "%% Setting 'rx-path' for chan %u in multi-ARFCN mode " + "does not make sense, because only chan 0 is used%s", + chan->idx, VTY_NEWLINE); + } + osmo_talloc_replace_string(chan->trx, &chan->rx_path, argv[0]); return CMD_SUCCESS; @@ -532,6 +538,12 @@ { struct trx_chan *chan = vty->index; + if (chan->trx->cfg.multi_arfcn && chan->idx > 0) { + vty_out(vty, "%% Setting 'tx-path' for chan %u in multi-ARFCN mode " + "does not make sense, because only chan 0 is used%s", + chan->idx, VTY_NEWLINE); + } + osmo_talloc_replace_string(chan->trx, &chan->tx_path, argv[0]); return CMD_SUCCESS; -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/20077 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: I12d7c466a9a428a384233c4377627e262f165401 Gerrit-Change-Number: 20077 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200912/2a087f20/attachment.htm>