X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=ppcskel.git;a=blobdiff_plain;f=usb%2Fcore%2Fcore.c;h=b1d04743e5c77078dfb3b6b6a68e5d303ae3ccc9;hp=89d3f69c1a5e11a04e75c17319234aa40dfba62c;hb=e2f68eaaefb3045cd6e3d07a326ac7feeeda7bac;hpb=f5281a85967ae59c079104be92cf1180095aa4b4 diff --git a/usb/core/core.c b/usb/core/core.c index 89d3f69..b1d0474 100644 --- a/usb/core/core.c +++ b/usb/core/core.c @@ -100,6 +100,7 @@ usb_device *usb_add_device() dev->epTogl[2] = 0; char buf[64]; + memset(buf, 0, sizeof(buf)); /* ask first 8 bytes of device descriptor with this special * GET Descriptor Request, when device address = 0