commit | 3a6d374b754b4b345195ff6846eeaffedc96a7c5 | [log] [tgz] |
---|---|---|
author | Fea.Wang <fea.wang@sifive.com> | Thu Jun 13 09:35:01 2024 +0800 |
committer | Edgar E. Iglesias <edgar.iglesias@amd.com> | Tue Jun 18 14:52:05 2024 +0200 |
tree | db09550c4de038977e276978f0c09496fd49c794 | |
parent | 8e25dddaf93bd9b2fa79e4b5229e7b3a97a86b7f [diff] |
hw/net: Fix the transmission return size Fix the transmission return size because not all bytes could be transmitted successfully. So, return a successful length instead of a constant value. Signed-off-by: Fea.Wang <fea.wang@sifive.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Reviewed-by: Frank Chang <frank.chang@sifive.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>