Fix hopefully the last race condition for tx_busy handling.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2018-11-30 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* src/usb-ccid.c (ccid_thread): Fix another race condition.
|
||||||
|
|
||||||
2018-11-25 NIIBE Yutaka <gniibe@fsij.org>
|
2018-11-25 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* VERSION: 1.2.12.
|
* VERSION: 1.2.12.
|
||||||
|
|||||||
@@ -1800,7 +1800,7 @@ ccid_thread (void *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ACKBTN_SUPPORT
|
#ifdef ACKBTN_SUPPORT
|
||||||
if (ack_intr.ready)
|
if (c->tx_busy && ack_intr.ready)
|
||||||
{
|
{
|
||||||
ackbtn_disable ();
|
ackbtn_disable ();
|
||||||
chopstx_intr_done (&ack_intr);
|
chopstx_intr_done (&ack_intr);
|
||||||
|
|||||||
Reference in New Issue
Block a user