aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-14 10:54:45 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-14 10:54:45 (GMT)
commit5420bcf477d0088fac84cba1d803f89830b6b970 (patch)
tree519c1d144ce45e36cd6b4e4a116ee7d3bafbfe20 /wlantest/wlantest.h
parent1d624a0702288b2448191e15ad85a2d8b25dacd9 (diff)
downloadhostap-5420bcf477d0088fac84cba1d803f89830b6b970.zip
hostap-5420bcf477d0088fac84cba1d803f89830b6b970.tar.gz
hostap-5420bcf477d0088fac84cba1d803f89830b6b970.tar.bz2
wlantest: Remove unnecessary duplication of tk_len from STA entries
The length of the TK is available within struct wpa_ptk, so there is no need to try to maintain it separately in wlantest. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wlantest/wlantest.h')
-rw-r--r--wlantest/wlantest.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index a841c18..7a99b48 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -72,7 +72,6 @@ struct wlantest_sta {
u8 anonce[32]; /* ANonce from the previous EAPOL-Key msg 1/4 or 3/4 */
u8 snonce[32]; /* SNonce from the previous EAPOL-Key msg 2/4 */
struct wpa_ptk ptk; /* Derived PTK */
- size_t tk_len;
int ptk_set;
struct wpa_ptk tptk; /* Derived PTK during rekeying */
int tptk_set;