staging: vt6655: change tx wake queue
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 4 Nov 2014 14:49:46 +0000 (14:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Nov 2014 22:52:59 +0000 (14:52 -0800)
commit54fbb2da8d4cef4f57d0cf70b84471dd61a7af5f
tree89fecd3d1cb01900649e8cd88acaba5e96b5eae8
parent9b505647bf995bb2a11ad361f6d4799e05b3478e
staging: vt6655: change tx wake queue

Wake queue in the dwIsr loop of device_intr instead of device_tx_srv.

This fixes an issue when ISR_TXDMA0 or ISR_AC0DMA does not occur
device_tx_srv is not called and the queue gets stuck in stopped
condition.

On test if the queue is stuck another MACvTransmitAC0 or MACvTransmit0
in vnt_tx_packet will clear it.

Check on vif that both buffers are available and the queue is stopped.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c