> @@ -2902,8 +2902,11 @@ static int wpa_driver_nl80211_set_key(const char > *ifname, struct i802_bss *bss, #endif /* CONFIG_DRIVER_NL80211_QCA */ > > if (alg == WPA_ALG_PMK && > - (drv->capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE)) > + (drv->capa.flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE)) { > + if(nla_put_flag(msg, NL80211_ATTR_WANT_1X_4WAY_HS)) This part doesn't make any sense.. msg is NULL here and anyway this flag is supposed to be used only with CONNECT command. > + return -1; > return nl80211_set_pmk(drv, key, key_len, addr); > + } > > if (alg == WPA_ALG_NONE) { > msg = nl80211_ifindex_msg(drv, ifindex, 0, _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap