summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2009-04-08 21:36:31 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-17 21:50:27 +0400
commitf720af91ec2c67e9a1abbd935570f4b4e1f0dd54 (patch)
treeaf1dfd698dedced7944dcce7dcb84ed6fd8860aa /usr
parent7f0406db5fe4dd3ad3cbd53830239a87d68156fd (diff)
downloadlinux-f720af91ec2c67e9a1abbd935570f4b4e1f0dd54.tar.xz
USB: whci-hcd: check return value of usb_hcd_link_urb_to_ep()
Check the return value of usb_hcd_link_urb_to_ep() and do not add the urb to the ASL/PZL if it returns an error. Omitting the check results in urbs that appear to be submitted successfully but then cannot be unliked (because usb_hcd_check_unlink_urb() returns an error). This can cause khubd (for example) to block forever in usb_kill_urb(). Signed-off-by: David Vrabel <david.vrabel@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions