Rhine ethernet driver: return success/failed for transmit function.

git-svn-id: svn://kolibrios.org@4333 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-12-08 14:17:53 +00:00
parent 41b579f8ac
commit 2e246fedfa

View File

@ -1456,11 +1456,12 @@ transmit:
add dword [device.bytes_tx], ecx
adc dword [device.bytes_tx + 4], 0
xor eax, eax ; Transmit succesfull
ret 8
.fail:
DEBUGF 2, "Transmit Failed!\n"
or eax, -1 ; Transmit failed
ret 8