wpa_supplicant: Prevent reinstallation of an already in-use group key

This commit is contained in:
Kapil Gupta
2021-04-06 18:08:44 +05:30
committed by bot
parent 9d649505bc
commit 035909872b
3 changed files with 18 additions and 0 deletions

View File

@@ -184,6 +184,11 @@ struct wpa_ptk {
} u;
} STRUCT_PACKED;
struct wpa_gtk {
u8 gtk[WPA_GTK_MAX_LEN];
size_t gtk_len;
};
struct wpa_gtk_data {
enum wpa_alg alg;
int tx, key_rsc_len, keyidx;