On Fri, 2007-08-31 at 15:03 +0200, Michael Buesch wrote: > I am sorry. I introduced this as I didn't understand my own weird code anymore. :) > I think I'll fix this by using the hw_key_idx. Well, I made it buggy :) I noticed another thing: The code there sets the "default keys valid" bit depending on WEP or not, while the v3 specs may say that it's a weird thing to do. I suggest setting the "default keys valid" bit in STA mode when group keys are configured and clearing it in AP mode; that way, in AP mode, the four group key slots can also be used for the transmit-only keys that have zeroed MAC addresses. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part