]> git.proxmox.com Git - mirror_edk2.git/commit
EmbeddedPkg/Lan9118Dxe: Do not return uninitialised TxBuff
authorMichael Brown <mcb30@ipxe.org>
Wed, 11 May 2016 21:50:09 +0000 (22:50 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 12 May 2016 08:01:17 +0000 (10:01 +0200)
commite117c894fdf1896fea5d37057832fed58d48b6ee
tree159685425cb7b3f417a5ec9744dffbf616b8a1a7
parent1da7616649491b054025fc2928211f577fbf2691
EmbeddedPkg/Lan9118Dxe: Do not return uninitialised TxBuff

Conform to the specification for GetStatus(), which states that "if
there are no transmit buffers to recycle and TxBuf is not NULL, *TxBuf
will be set to NULL".

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c