]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
ehci: memset the qTD structures in ehci_alloc_intr_pipe
authorKevin O'Connor <kevin@koconnor.net>
Fri, 17 Jan 2014 23:43:10 +0000 (18:43 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 20 Jan 2014 17:42:43 +0000 (12:42 -0500)
commit7d2fd49d9244f70e65210753686ca7c1687a3a78
tree4585d866268b335101b963a0c29d6d7bc3d90c78
parent5f2d17d35b2339526f3b3d580b279ea78e406a25
ehci: memset the qTD structures in ehci_alloc_intr_pipe

The qTD structures were not being cleared in ehci_alloc_intr_pipe()
and it was possible that garbage could have been in some of the
fields.  Also, memset the data array for sanity purposes.

A similar fix is in the Chromium seabios repo (3e711dc261).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/usb-ehci.c