RE: [nl80211] Add support for 4-way handshake offloading to firmware in NL80211 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux