Change in osmo-pcu[master]: tbf: Reuse stored result in variable in check_polling()

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Feb 1 15:35:55 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/22606 )


Change subject: tbf: Reuse stored result in variable in check_polling()
......................................................................

tbf: Reuse stored result in variable in check_polling()

Change-Id: Ie6fbe3699bcb4f63f7b617243c769e60881d8aac
---
M src/tbf.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/06/22606/1

diff --git a/src/tbf.cpp b/src/tbf.cpp
index 54ae4fa..74c790c 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -558,7 +558,7 @@
 		LOGPTBF(this, LOGL_DEBUG, "Polling is already scheduled\n");
 		return -EBUSY;
 	}
-	if (bts_sba(bts)->find(trx->trx_no, ts, next_fn(fn, 13))) {
+	if (bts_sba(bts)->find(trx->trx_no, ts, new_poll_fn)) {
 		LOGPTBF(this, LOGL_DEBUG, "Polling is already scheduled "
 			"for single block allocation at FN %d TS %d ...\n",
 			new_poll_fn, ts);

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie6fbe3699bcb4f63f7b617243c769e60881d8aac
Gerrit-Change-Number: 22606
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210201/be6a0853/attachment.htm>


More information about the gerrit-log mailing list