]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb28b0d79b4cb5bb212f73ab6ce54d53f3d6aea93
tree241c6444ab2a86e87d6c483266d7a627c30fcf18
parente841ed2b63aac5749f64fced5ebd710f62a29bc7
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