[rt2x00-users] rt73usb cause system to crash after resuming from suspend

Leonardo Luiz Padovani da Mata leonardol at syst.com.br
Tue Feb 8 03:37:37 EST 2011


So, anyway to help with more information/tests?


On Fri, Feb 4, 2011 at 7:48 PM, Johannes Stezenbach <js at sig21.net> wrote:
> On Fri, Feb 04, 2011 at 05:50:42PM +0100, Johannes Stezenbach wrote:
>> Ivo: I'm not sure about the
>>       while (!rt2x00queue_empty(rt2x00dev->rx)
>> in rt2x00usb_work_rxdone() (in 2.6.37 and also in rt2x00/master).
>> It seems if rt2x00queue_empty(rt2x00dev->rx) is true, it means all
>> queue entries contain received frames.  Could this cause
>> TX queue stuck issues?  I think it should be changed to
>> while (!rt2x00queue_full(rt2x00dev->rx).
>
> Replying to myself, I think this conclusion was wrong and the
> code is correct,  since Q_INDEX_DMA_DONE does not affect
> the rt2x00queue_empty() test.  The RX queue will
> never be empty except when the deivce is unplugged.
>
> BTW, why does Mailman remove addresses from Cc:?  That's annoying.
>
>
> Johanes
>



-- 
Leonardo Luiz Padovani da Mata

International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team

leonardol at metasys.com.br
+55-31-3503-9040

"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"



More information about the users mailing list