On Sat, 2011-04-30 at 19:30 -0700, Naveen Singh wrote: > From: Naveen Singh <nsingh@xxxxxxxxxxx> > > The WPA-PSK association was not going through with 2.6.38 > kernel. It was found that supplicant was not able to set > the PTK key. On further analysis it was found that the function > nl80211_set_key in file net/wireless/nl80211.c is returning with > code as -EOPNOTSUPP. This function has been modified to check for > the flag "WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS"in wiphy > struct. If this flag is not set in the driver init, it returns > from here thereby causing the association to fail. The solution > is to set this flag in driver init as there would be separate > default keys for unicast and multicast packets. We were discussing this before ... and I think the bug is in the supplicant actually asking for the GTK to be set as the default key or something like that. In any case, this doesn't seem right unless you actually do support separate unicast keys. Are you sure you fully understand what you're doing here, and not just randomly hacking in a workaround? johannes -- 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