diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-05-12 07:30:02 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-06-13 13:54:16 -0500 |
commit | 286bea2e85a73602624b8dc05dd0dfac8e7e4263 (patch) | |
tree | a318e8fd60b09cb01ee540c06af60fca201adb1d /drivers/net/cs8900.c | |
parent | 60177b26171a8f13be1b2d061db36784fc86a861 (diff) |
net: cpsw: ti: Reap completed packets before stopping interface
If you send a final packet just before stopping the interface (e.g. a final
ACK as part of the UDP fastboot protocol), then that packet isn't reliably
delivered onto the wire.
Reap packets prior to stopping the interface to ensure any which are
in-flight make it out. Also remove buffer and len from the call to
cpdma_process() as we weren't using them on their return.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/cs8900.c')
0 files changed, 0 insertions, 0 deletions