]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Disable receive filters to work around buggy UNDI drivers
authorMichael Brown <mcb30@ipxe.org>
Wed, 11 Jan 2023 00:18:18 +0000 (00:18 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 11 Jan 2023 00:18:18 +0000 (00:18 +0000)
commitab19546386b13d6c54aea1647fac06960c544efc
tree527a784e9532c0f2d6e4690ab1d2c406e71f3200
parent7147532c3fbf9a7061e74549f6f920a91ca9a80d
[efi] Disable receive filters to work around buggy UNDI drivers

Some UNDI drivers (such as the AMI UsbNetworkPkg currently in the
process of being upstreamed into EDK2) have a bug that will prevent
any packets from being received unless at least one attempt has been
made to disable some receive filters.

Work around these buggy drivers by attempting to disable receive
filters before enabling them.  Ignore any errors, since we genuinely
do not care whether or not the disabling succeeds.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/efi/nii.c