From: David Vrabel Date: Mon, 12 Oct 2009 15:45:15 +0000 (+0000) Subject: USB: whci-hcd: handle early deletion of endpoints X-Git-Tag: v2.6.32-rc5~11^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171b37ee95865c052a88d52a05895c3c584f4871;p=pandora-kernel.git USB: whci-hcd: handle early deletion of endpoints If an endpoint is deleted before it's been fully added to the hardware list, the associated qset will not be fully initialized and an oops will occur when complete(&qset->remove_complete) is called. This can happen if a queued URB is cancelled. Fix this by only removing the qset from the hardware list if the cancelled URB had qTDs. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed