SAE: Rename state variables to match IEEE 802.11 standard

The enum values for struct sae_data::state now match the protocol
instance states as defined in IEEE Std 802.11-2012, 11.3.8.2.2

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2012-12-31 11:05:42 +02:00
parent 47b55a3ef5
commit dd43026a19
3 changed files with 12 additions and 7 deletions

View file

@ -13,7 +13,7 @@
#define SAE_CONFIRM_MAX_LEN (2 + 32)
struct sae_data {
enum { SAE_INIT, SAE_COMMIT, SAE_CONFIRM } state;
enum { SAE_NOTHING, SAE_COMMITTED, SAE_CONFIRMED, SAE_ACCEPTED } state;
u16 send_confirm;
u8 kck[32];
u8 pmk[32];