Attention is currently required from: fixeria.
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-bts/+/32552
)
Change subject: osmo-bts-trx: fix trx_ctrl_read_cb(): do not send CMDs twice
......................................................................
Patch Set 1:
(3 comments)
File src/osmo-bts-trx/trx_if.c:
https://gerrit.osmocom.org/c/osmo-bts/+/32552/comment/5bd48b0c_b89aa276
PS1, Line 732: /* Calling trx_ctrl_rx_rsp() may trigger code patch(s) queueing more
CMDs.
typo: path
https://gerrit.osmocom.org/c/osmo-bts/+/32552/comment/1527d654_29fda4ef
PS1, Line 736: more_cmds = !llist_empty(&l1h->trx_ctrl_list);
It would be much more clearing storing this in a var called list_was_empty =
llist_empty()
https://gerrit.osmocom.org/c/osmo-bts/+/32552/comment/108f804f_be0fa48b
PS1, Line 751: if (more_cmds)
shouldn't this patch actually simply be here:
```
if (!llist_empty(&l1h->trx_ctrl_list))
trx_ctrl_send(l1h);
```
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/32552
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ibdffa4644aa3a7d219452644d3e74b411734f1df
Gerrit-Change-Number: 32552
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 28 Apr 2023 22:19:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment