ms: init trash used to escape the usb callbacks
Closes: OS#5847 Change-Id: I1b41350f981bd9f68163509b94d5457218b415d6
This commit is contained in:
parent
0ce64705e0
commit
d0c1055051
|
@ -449,8 +449,8 @@ void sighandler(int sigset)
|
||||||
|
|
||||||
// we know the flag is atomic and it prevents the trxcon cb handlers from writing
|
// 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
|
// to the queues, so submit some trash to unblock the threads & exit
|
||||||
trxcon::trxcon_phyif_cmd cmd;
|
trxcon::trxcon_phyif_cmd cmd = {};
|
||||||
trxcon::internal_q_tx_buf b;
|
trxcon::internal_q_tx_buf b = {};
|
||||||
trxcon::txq.spsc_push(&b);
|
trxcon::txq.spsc_push(&b);
|
||||||
trxcon::cmdq_to_phy.spsc_push(&cmd);
|
trxcon::cmdq_to_phy.spsc_push(&cmd);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue