commit | 1edc657e4bc832fe8dc72f15fd0e9dfa3d94d01a | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Dec 10 15:42:01 2015 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Wed Jan 27 15:55:52 2016 +0100 |
tree | b5fb25a587279f78289672f677e1946159ed0ca3 | |
parent | 9b9423b9ebd79e762c7f19df2c44ecc6168740ad [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>