aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_ft.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-26 08:35:08 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-26 08:35:08 (GMT)
commit719347511ad6a9b4d7ef6f1459cb08597900cbc9 (patch)
treedf673c9d05b10eaa9a346262bf0a657869eababc /src/ap/wpa_auth_ft.c
parent81f4f6195ecaf4d8c24f178183c7f6237ef0073c (diff)
downloadhostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.zip
hostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.tar.gz
hostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.tar.bz2
Get rid of unnecessary typedefs for enums.
Diffstat (limited to 'src/ap/wpa_auth_ft.c')
-rw-r--r--src/ap/wpa_auth_ft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c
index c916ebe..ff21d60 100644
--- a/src/ap/wpa_auth_ft.c
+++ b/src/ap/wpa_auth_ft.c
@@ -832,7 +832,7 @@ static int wpa_ft_parse_ies(const u8 *ies, size_t ies_len,
static inline int wpa_auth_set_key(struct wpa_authenticator *wpa_auth,
int vlan_id,
- wpa_alg alg, const u8 *addr, int idx,
+ enum wpa_alg alg, const u8 *addr, int idx,
u8 *key, size_t key_len)
{
if (wpa_auth->cb.set_key == NULL)
@@ -844,7 +844,7 @@ static inline int wpa_auth_set_key(struct wpa_authenticator *wpa_auth,
static void wpa_ft_install_ptk(struct wpa_state_machine *sm)
{
- wpa_alg alg;
+ enum wpa_alg alg;
int klen;
/* MLME-SETKEYS.request(PTK) */