nl80211: Add IGTK (AES-128-CMAC) configuration
This was somehow forgotten from IEEE 802.11w/MFP patches from wpa_supplicant -Dnl80211.
This commit is contained in:
parent
efa4607800
commit
2e24a366ea
1 changed files with 5 additions and 0 deletions
|
@ -1342,6 +1342,11 @@ static int wpa_driver_nl80211_set_key(void *priv, wpa_alg alg,
|
|||
case WPA_ALG_CCMP:
|
||||
NLA_PUT_U32(msg, NL80211_ATTR_KEY_CIPHER, 0x000FAC04);
|
||||
break;
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
case WPA_ALG_IGTK:
|
||||
NLA_PUT_U32(msg, NL80211_ATTR_KEY_CIPHER, 0x000FAC06);
|
||||
break;
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
default:
|
||||
nlmsg_free(msg);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue