Re: order of rx/tx sequence

2013-12-30 Thread Bin Liu
Hi Greg, On Mon, Dec 30, 2013 at 12:51 PM, Greg KH wrote: > On Mon, Dec 30, 2013 at 12:39:11PM -0600, Bin Liu wrote: >> Hi Greg, >> >> On Mon, Dec 30, 2013 at 12:04 PM, Greg KH wrote: >> > On Mon, Dec 30, 2013 at 11:46:13AM -0600, Bin Liu wrote: >> >> Hi, >> >> >> >> I have a case in which the c

Re: order of rx/tx sequence

2013-12-30 Thread Greg KH
On Mon, Dec 30, 2013 at 12:39:11PM -0600, Bin Liu wrote: > Hi Greg, > > On Mon, Dec 30, 2013 at 12:04 PM, Greg KH wrote: > > On Mon, Dec 30, 2013 at 11:46:13AM -0600, Bin Liu wrote: > >> Hi, > >> > >> I have a case in which the class layer has tx and rx urbs in sequence, > > > > What "class layer

Re: order of rx/tx sequence

2013-12-30 Thread Bin Liu
Hi Greg, On Mon, Dec 30, 2013 at 12:04 PM, Greg KH wrote: > On Mon, Dec 30, 2013 at 11:46:13AM -0600, Bin Liu wrote: >> Hi, >> >> I have a case in which the class layer has tx and rx urbs in sequence, > > What "class layer"? This is a third party proprietary wifi driver sits on top of the usb st

Re: order of rx/tx sequence

2013-12-30 Thread Greg KH
On Mon, Dec 30, 2013 at 11:46:13AM -0600, Bin Liu wrote: > Hi, > > I have a case in which the class layer has tx and rx urbs in sequence, What "class layer"? > and the class layer expects the rx complete() should be called after > the tx complete() is called. What driver expects this? Sounds l

order of rx/tx sequence

2013-12-30 Thread Bin Liu
Hi, I have a case in which the class layer has tx and rx urbs in sequence, and the class layer expects the rx complete() should be called after the tx complete() is called. But due to scheduling, I guess, sometimes the tx complete() is called after rx_complete(), which confuses the class layer. S