]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: update SNP.GetStatus to handle multiple recycled TX buffer.
authorFu Siyuan <siyuan.fu@intel.com>
Fri, 8 Jan 2016 02:21:25 +0000 (02:21 +0000)
committersfu5 <sfu5@Edk2>
Fri, 8 Jan 2016 02:21:25 +0000 (02:21 +0000)
This patch fixes a bug in SNP.GetStatus() interface. The UNDI driver may return
multiple transmitted buffers in a single GetStatus command, while SNP.GetStatus
could only return one pointer each time, the rest of them are lost. This patch
fixes this issue by store these recycled pointer in a temporary buffer in SNP
driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19623 6f19259b-4bc3-4df7-8a09-765794883524


No differences found