diff mbox series

[v3,07/13] handshake: remove handshake_state_set_fte

Message ID 20231206201802.2139649-7-prestwoj@gmail.com (mailing list archive)
State New
Headers show
Series [v3,01/13] auto-t: add explicit stop() to IWD class | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-ci-gitlint success GitLint

Commit Message

James Prestwood Dec. 6, 2023, 8:17 p.m. UTC
Replaced by set_authenticator_fte
---
 src/handshake.c | 6 ------
 src/handshake.h | 2 --
 2 files changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/src/handshake.c b/src/handshake.c
index ad8533f4..8fab4498 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -122,7 +122,6 @@  void handshake_state_free(struct handshake_state *s)
 	l_free(s->authenticator_rsnxe);
 	l_free(s->supplicant_rsnxe);
 	l_free(s->mde);
-	l_free(s->fte);
 	l_free(s->authenticator_fte);
 	l_free(s->supplicant_fte);
 	l_free(s->fils_ip_req_ie);
@@ -310,11 +309,6 @@  void handshake_state_set_mde(struct handshake_state *s, const uint8_t *mde)
 	replace_ie(&s->mde, mde);
 }
 
-void handshake_state_set_fte(struct handshake_state *s, const uint8_t *fte)
-{
-	replace_ie(&s->fte, fte);
-}
-
 void handshake_state_set_authenticator_fte(struct handshake_state *s,
 						const uint8_t *fte)
 {
diff --git a/src/handshake.h b/src/handshake.h
index e6344048..562e44ce 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -103,7 +103,6 @@  struct handshake_state {
 	uint8_t *authenticator_rsnxe;
 	uint8_t *supplicant_rsnxe;
 	uint8_t *mde;
-	uint8_t *fte;
 	uint8_t *authenticator_fte;
 	uint8_t *supplicant_fte;
 	uint8_t *vendor_ies;
@@ -216,7 +215,6 @@  void handshake_state_set_ssid(struct handshake_state *s,
 					const uint8_t *ssid, size_t ssid_len);
 void handshake_state_set_mde(struct handshake_state *s,
 					const uint8_t *mde);
-void handshake_state_set_fte(struct handshake_state *s, const uint8_t *fte);
 void handshake_state_set_authenticator_fte(struct handshake_state *s,
 						const uint8_t *fte);
 void handshake_state_set_supplicant_fte(struct handshake_state *s,