From 2e24a366ea1a26a93d121ef97dc2bf5ed8ff3edd Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 1 Apr 2009 17:14:07 +0300 Subject: [PATCH] nl80211: Add IGTK (AES-128-CMAC) configuration This was somehow forgotten from IEEE 802.11w/MFP patches from wpa_supplicant -Dnl80211. --- src/drivers/driver_nl80211.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index b0f93089c..49b5a245d 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -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;