aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_ft.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-04-10 18:42:54 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-10 18:42:54 (GMT)
commit86dfabb809898456bd05e7bececb8d8a6be197d7 (patch)
tree291e31f81d6ae4cfc799b934781e8ccf40d2e32d /src/ap/wpa_auth_ft.c
parent48de343cd4430330fc3871c54ade63bd5cedfeb2 (diff)
downloadhostap-86dfabb809898456bd05e7bececb8d8a6be197d7.zip
hostap-86dfabb809898456bd05e7bececb8d8a6be197d7.tar.gz
hostap-86dfabb809898456bd05e7bececb8d8a6be197d7.tar.bz2
FT: Add FTIE, TIE[ReassocDeadline], TIE[KeyLifetime] to EAPOL-Key 3/4
These are mandatory IEs to be included in the FT 4-Way Handshake Message 3.
Diffstat (limited to 'src/ap/wpa_auth_ft.c')
-rw-r--r--src/ap/wpa_auth_ft.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c
index 6e45af8..2c441eb 100644
--- a/src/ap/wpa_auth_ft.c
+++ b/src/ap/wpa_auth_ft.c
@@ -97,11 +97,11 @@ int wpa_write_mdie(struct wpa_auth_config *conf, u8 *buf, size_t len)
}
-static int wpa_write_ftie(struct wpa_auth_config *conf, const u8 *r0kh_id,
- size_t r0kh_id_len,
- const u8 *anonce, const u8 *snonce,
- u8 *buf, size_t len, const u8 *subelem,
- size_t subelem_len)
+int wpa_write_ftie(struct wpa_auth_config *conf, const u8 *r0kh_id,
+ size_t r0kh_id_len,
+ const u8 *anonce, const u8 *snonce,
+ u8 *buf, size_t len, const u8 *subelem,
+ size_t subelem_len)
{
u8 *pos = buf, *ielen;
struct rsn_ftie *hdr;