Browse Source

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 <yoni.divinsky@ti.com>
Yoni Divinsky 13 years ago
parent
commit
9354e59480
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ap/wpa_auth.c

+ 1 - 0
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);
 	}
 }