diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-03-01 17:18:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 15:58:32 -0700 |
commit | 43763b6eece07ec97e36e00205c3d54f4a57754e (patch) | |
tree | 3513fd92524f850ec044a3c50e0d4e67918b1188 /drivers/sfi | |
parent | 5fe90f08a129e9fd8bda0e0c54746eb7b5297768 (diff) |
USB: EHCI: adjust ehci_iso_stream for changes in ehci_qh
commit 1082f57abfa26590b60c43f503afb24102a37016 upstream.
The EHCI driver stores in usb_host_endpoint.hcpriv a pointer to either
an ehci_qh or an ehci_iso_stream structure, and uses the contents of the
hw_info1 field to distinguish the two cases.
After ehci_qh was split into hw and sw parts, ehci_iso_stream must also
be adjusted so that it again looks like an ehci_qh structure.
This fixes a NULL pointer access in ehci_endpoint_disable() when it
tries to access qh->hw->hw_info1.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reported-by: Colin Fletcher <colin.m.fletcher@googlemail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions