aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-24 20:38:16 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-24 20:38:16 (GMT)
commit7d7f7be2e51510ed15a26a1213ca04511314c1e5 (patch)
tree763270173641c845293bceac4fed6732df2ba751 /src/ap/wpa_auth_i.h
parent30675c34166a7491575ddbf6ef82a9aec89e2ff9 (diff)
downloadhostap-7d7f7be2e51510ed15a26a1213ca04511314c1e5.zip
hostap-7d7f7be2e51510ed15a26a1213ca04511314c1e5.tar.gz
hostap-7d7f7be2e51510ed15a26a1213ca04511314c1e5.tar.bz2
Verify group key configuration for WPA group
If configuration of the group key to the driver fails, move the WPA group into failed state and indication group setup error to avoid cases where AP could look like it is working even through the keys are not set correctly. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 12e59bc..9736874 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -139,7 +139,8 @@ struct wpa_group {
enum {
WPA_GROUP_GTK_INIT = 0,
- WPA_GROUP_SETKEYS, WPA_GROUP_SETKEYSDONE
+ WPA_GROUP_SETKEYS, WPA_GROUP_SETKEYSDONE,
+ WPA_GROUP_FATAL_FAILURE
} wpa_group_state;
u8 GMK[WPA_GMK_LEN];