xhci: xhci_handle_cmd_stop_ep might give back urb incorrectly

2014-11-24 Thread Lu, Baolu
Hi Mathias, Alan and all, During xhci handling a completion event for stop endpoint command , xhci_handle_cmd_stop_ep() always gives back a urb with status set to 0. The comment says, /* Doesn't matter what we pass for status, since the core will * just

Re: xhci: xhci_handle_cmd_stop_ep might give back urb incorrectly

2014-11-24 Thread Alan Stern
On Mon, 24 Nov 2014, Lu, Baolu wrote: Hi Mathias, Alan and all, During xhci handling a completion event for stop endpoint command , xhci_handle_cmd_stop_ep() always gives back a urb with status set to 0. The comment says, /* Doesn't matter what we pass for status,

Re: xhci: xhci_handle_cmd_stop_ep might give back urb incorrectly

2014-11-24 Thread Lu, Baolu
On 2014年11月24日 23:33, Alan Stern wrote: On Mon, 24 Nov 2014, Lu, Baolu wrote: Hi Mathias, Alan and all, During xhci handling a completion event for stop endpoint command , xhci_handle_cmd_stop_ep() always gives back a urb with status set to 0. The comment says, /* Doesn't