r8152: modify the tx flow
authorhayeswang <hayeswang@realtek.com>
Wed, 20 Nov 2013 09:30:55 +0000 (17:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2013 20:09:41 +0000 (15:09 -0500)
commit61598788582cafad52816d5d1db879334d8bd561
tree241c6444ab2a86e87d6c483266d7a627c30fcf18
parent7937f9e5141c9d4864d399d91325605a35cd5831
r8152: modify the tx flow

Remove the code for sending the packet in the rtl8152_start_xmit().
Let rtl8152_start_xmit() to queue the packet only, and schedule a
tasklet to send the queued packets. This simplify the code and make
sure all the packet would be sent by the original order.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c