diff mbox

[edk2,1/2] EmbeddedPkg: FastbootUsb: set serial number as 3

Message ID BLU437-SMTP24F2A615EB49FFB651927997A70@phx.gbl
State New
Headers show

Commit Message

Haojian Zhuang Feb. 26, 2016, 9:48 a.m. UTC
Set serial number as 3. If the serial number is 0, fastboot won't
load real serial number from descriptor at all.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>

---
 .../Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsb.c       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsb.c b/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsb.c
index e7da1fa..a3eddda 100644
--- a/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsb.c
+++ b/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsb.c
@@ -64,7 +64,7 @@  STATIC USB_DEVICE_DESCRIPTOR mDeviceDescriptor = {
   0,                                               //BcdDevice
   0,                                               //StrManufacturer
   0,                                               //StrProduct
-  0,                                               //StrSerialNumber
+  3,                                               //StrSerialNumber
   1                                                //NumConfigurations
 };