diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-12-10 15:42:01 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-01-27 15:55:52 +0100 |
commit | 26c7945a24b8bd5565e9b1481dac10ff14eca177 (patch) | |
tree | b5fb25a587279f78289672f677e1946159ed0ca3 /drivers/pcmcia | |
parent | 5a4baa33e4d0beb9708719160bfc3f91a8f9f3bf (diff) |
net: emaclite: Fix logic around available TX buffers
Simplify logic how to find out if there is free TX buffer.
Both buffers are checked all the time that's why logic around order
can be removed.
Also add check when only one buffer is available.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions