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>
This commit is contained in:
parent
30675c3416
commit
7d7f7be2e5
2 changed files with 38 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue