diff options
author | Elvin Li <elvin.li@intel.com> | 2015-02-05 01:15:09 +0000 |
---|---|---|
committer | li-elvin <li-elvin@Edk2> | 2015-02-05 01:15:09 +0000 |
commit | 5d6507a14687f133d2ab8643ad274b22e578a907 (patch) | |
tree | c19ee5a67097ec18f175a4d9626a0d3cd6f682cc /NetworkPkg | |
parent | 4b4a068cd4cc21d767a25d6f1e966dac12acd4fd (diff) | |
download | edk2-platforms-5d6507a14687f133d2ab8643ad274b22e578a907.tar.xz |
Use MaxPacketSize as the initial buffer size to read data.
If host sends more than 8 bytes of data, BABBLE error would happen if USB3 debug library uses 8 byte of buffer to read data.
We need use MaxPacketSize in USB3 debug descriptor to create buffer and read data into this buffer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16762 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
0 files changed, 0 insertions, 0 deletions