From: Yoni Divinsky Date: Sun, 30 Oct 2011 20:19:49 +0000 (+0200) Subject: Configure new GTK/IGTK to driver in case of TKIP countermeasures X-Git-Tag: hostap-1-bp~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9354e59480fbdffa4e773728909d1e0d4a2be68a;p=thirdparty%2Fhostap.git Configure new GTK/IGTK to driver in case of TKIP countermeasures The GTK is renewed in the hostapd after a MIC attack dissassociation without informing the driver, causing decryption failures. This patch sends the new GTK/IGTK to the driver after it is updated by the hostapd. Signed-off-by: Yoni Divinsky --- diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index c76b6ad0f..7ebfd8d54 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -2507,6 +2507,7 @@ void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth) group->GN_igtk = tmp; #endif /* CONFIG_IEEE80211W */ wpa_gtk_update(wpa_auth, group); + wpa_group_config_group_keys(wpa_auth, group); } }