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.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/11406 Change subject: trx_validate_config(): Fix validation of rx_sps ...................................................................... trx_validate_config(): Fix validation of rx_sps Change-Id: I7e932cff59335add09c76caba6f9ac1e7cf69022 Fixes: Coverity CID#188871 --- M CommonLibs/Logger.cpp M Transceiver52M/osmo-trx.cpp 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/06/11406/1 diff --git a/CommonLibs/Logger.cpp b/CommonLibs/Logger.cpp index 171c635..cdf0544 100644 --- a/CommonLibs/Logger.cpp +++ b/CommonLibs/Logger.cpp @@ -52,7 +52,7 @@ ScopedLock lock(gLogToLock); // The COUT() macro prevents messages from stomping each other but adds uninteresting thread numbers, // so just use std::cout. - LOGPSRC(mCategory, mPriority, filename, line, fmt, mStream.str().c_str()); + //LOGPSRC(mCategory, mPriority, filename, line, fmt, mStream.str().c_str()); pthread_setcancelstate(old_state, NULL); } diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp index d01a4cf..7f72c47 100644 --- a/Transceiver52M/osmo-trx.cpp +++ b/Transceiver52M/osmo-trx.cpp @@ -376,7 +376,7 @@ /* Force 4 SPS for EDGE or multi-ARFCN configurations */ if ((trx->cfg.egprs || trx->cfg.multi_arfcn) && - (trx->cfg.tx_sps!=4 || trx->cfg.tx_sps!=4)) { + (trx->cfg.tx_sps!=4 || trx->cfg.rx_sps!=4)) { LOG(ERROR) << "EDGE and Multi-Carrier options require 4 tx and rx sps. Check you config."; return -1; } -- To view, visit https://gerrit.osmocom.org/11406 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7e932cff59335add09c76caba6f9ac1e7cf69022 Gerrit-Change-Number: 11406 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/20181021/a493e4e8/attachment.htm>