Hi Stefano, What happens is that the while (newidx != sta->txrate) will continue until the newidx reaches 33. Reason is that BIT(33) is the same as BIT(1) In the rate_supported() function. New sta->txrate will be 33 which is far beyond the valid size (12 in my case). In my system that happens to be a 11g speed :o). I have a trace if you are intresting. Its about 260K data but it show How it happens. I think you need trafik (ping) in order for the relulator to operate. Regards Lars -----Original Message----- From: Stefano Brivio [mailto:stefano.brivio@xxxxxxxxx] Sent: den 27 januari 2008 13:43 To: Lars Cc: linux-wireless@xxxxxxxxxxxxxxx Subject: Re: [PATCH 2/2] rc80211-pid: add sanity check On Sat, 26 Jan 2008 19:40:14 +0000 (UTC) Lars <Lars_Ericsson@xxxxxxxxx> wrote: > Hi, > > I have spent some time debugging this problem from a different angle. > > If you use a 'b/g' STA connecting to a 'b' AP you will run into this > loop in a few seconds. What also happens is that the STA will try > using 'g' speeds. That was the way I located the problem. Thank you. I couldn't really figure out how to reproduce the bug. > In other words, I do not think a WARN_ON is good solution. Please could you try my 1/2 patch? In the meanwhile, I'll try to use your information for more debugging. -- Ciao Stefano - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html