diff options
Diffstat (limited to 'drivers/net/ethernet/qualcomm/qca_spi.c')
| -rw-r--r-- | drivers/net/ethernet/qualcomm/qca_spi.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net/ethernet/qualcomm/qca_spi.c index c865a4be05ee..4a1b94e5a8ea 100644 --- a/drivers/net/ethernet/qualcomm/qca_spi.c +++ b/drivers/net/ethernet/qualcomm/qca_spi.c @@ -582,8 +582,7 @@ qcaspi_spi_thread(void *data)  	while (!kthread_should_stop()) {  		set_current_state(TASK_INTERRUPTIBLE);  		if ((qca->intr_req == qca->intr_svc) && -		    (qca->txr.skb[qca->txr.head] == NULL) && -		    (qca->sync == QCASPI_SYNC_READY)) +		    !qca->txr.skb[qca->txr.head])  			schedule();  		set_current_state(TASK_RUNNING); | 
