Hoernchen has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30796 ) Change subject: ms: init trash used to escape the usb callbacks ...................................................................... ms: init trash used to escape the usb callbacks Closes: OS#5847 Change-Id: I1b41350f981bd9f68163509b94d5457218b415d6 --- M Transceiver52M/ms/ms_upper.cpp 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Hoernchen: Looks good to me, approved; Verified fixeria: Looks good to me, but someone else must approve diff --git a/Transceiver52M/ms/ms_upper.cpp b/Transceiver52M/ms/ms_upper.cpp index e59aeae..281716e 100644 --- a/Transceiver52M/ms/ms_upper.cpp +++ b/Transceiver52M/ms/ms_upper.cpp @@ -449,8 +449,8 @@ // we know the flag is atomic and it prevents the trxcon cb handlers from writing // to the queues, so submit some trash to unblock the threads & exit - trxcon::trxcon_phyif_cmd cmd; - trxcon::internal_q_tx_buf b; + trxcon::trxcon_phyif_cmd cmd = {}; + trxcon::internal_q_tx_buf b = {}; trxcon::txq.spsc_push(&b); trxcon::cmdq_to_phy.spsc_push(&cmd); -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30796 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: I1b41350f981bd9f68163509b94d5457218b415d6 Gerrit-Change-Number: 30796 Gerrit-PatchSet: 3 Gerrit-Owner: Hoernchen <ewild@sysmocom.de> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-MessageType: merged