diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-05-26 01:37:47 -0700 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-06-10 19:39:34 +0400 |
commit | 6ab57a6b80be45372d7f3dd58e9776549d0ce9cf (patch) | |
tree | 38a5bb391229569405dd0632f52f2f7713d1b971 /hw/moxie | |
parent | 3334e929ae2d01e47c3e64757ee7fcf975cede94 (diff) |
net: cadence_gem: Fix Tx descriptor update
The local variable "desc" was being used to read-modify-write the
first descriptor (of a multi-desc packet) upon packet completion.
desc however continues to be used by the code as the current
descriptor. Give this first desc RMW it's own local variable to
avoid trampling.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/moxie')
0 files changed, 0 insertions, 0 deletions