]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix a typo in a comment (the variable is ptk, not pkt)
authorandrekorol <anrobits@yahoo.com.br>
Tue, 17 Oct 2017 11:34:14 +0000 (09:34 -0200)
committerJouni Malinen <j@w1.fi>
Sat, 21 Oct 2017 09:02:54 +0000 (12:02 +0300)
Signed-off-by: Andre Rossi Korol <anrobits@yahoo.com.br>
src/rsn_supp/wpa.c

index 15b0e606e65194ac8474c6bb5fbf0ad89e948ba1..07fad4517f5bdd706dd81d7da7ccc04e9668c2de 100644 (file)
@@ -1739,7 +1739,7 @@ static int wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm,
                        os_memset(&sm->tptk, 0, sizeof(sm->tptk));
                        /*
                         * This assures the same TPTK in sm->tptk can never be
-                        * copied twice to sm->pkt as the new PTK. In
+                        * copied twice to sm->ptk as the new PTK. In
                         * combination with the installed flag in the wpa_ptk
                         * struct, this assures the same PTK is only installed
                         * once.