staging: vt6655: vnt_tx_packet fix dma_idx selection.
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 9 Feb 2015 19:11:33 +0000 (19:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 07:12:40 +0000 (08:12 +0100)
commitc312530589ed9524fc7cc921105dc9b67ea32d6a
tree03fcac1e57adfedccccb8114086908932c0d0508
parent9eccca0843205f87c00404b663188b88eb248051
staging: vt6655: vnt_tx_packet fix dma_idx selection.

There is still a problem that dma_idx is causing packets to
go onto the wrong tx path.

Protect dma_idx fully with the present first lock and
use pTDInfo->byFlags TD_FLAGS_NETIF_SKB to set MACvTransmit.

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