On Fri, Apr 16, 2010 at 02:32:41PM +0300, Jouni Malinen wrote: > On Fri, 2010-04-16 at 03:52 -0700, Johan Hovold wrote: > > Frames tagged by hardware with ATH9K_RXKEYIX_INVALID should not > > incorrectly be marked decrypted (even if key index in frame is valid). > > Have you tested this with static WEP configuration? Or broadcast RX with > WPA? There must be a reason for that odd looking code being there in the > first place and I can now only think of it being needed when the default > keys are used. You are correct. That piece of code is indeed required for WEP (KeyIdxValid is not set and sometimes also KeyMiss is set even though frame has been decrypted). I just posted a patch which seems to catch the corrupt frames without messing anything else up. Perhaps you could take a quick look at it? Thanks, Johan -- 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