All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 2/5] eapol: notify with EAP complete handshake event
Date: Thu, 08 Apr 2021 08:46:43 -0700	[thread overview]
Message-ID: <20210408154646.1182833-2-prestwoj@gmail.com> (raw)
In-Reply-To: <20210408154646.1182833-1-prestwoj@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

---
 src/eapol.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/eapol.c b/src/eapol.c
index 23aaf530..c4a73282 100644
--- a/src/eapol.c
+++ b/src/eapol.c
@@ -2162,7 +2162,8 @@ static void eapol_eap_complete_cb(enum eap_result result, void *user_data)
 		sm->eap = NULL;
 		handshake_failed(sm, MMPDU_REASON_CODE_IEEE8021X_FAILED);
 		return;
-	}
+	} else
+		handshake_event(sm->handshake, HANDSHAKE_EVENT_EAP_COMPLETE);
 
 	eap_reset(sm->eap);
 
-- 
2.26.2

  reply	other threads:[~2021-04-08 15:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 15:46 [PATCH 1/5] handshake: add HANDSHAKE_EVENT_EAP_COMPLETE James Prestwood
2021-04-08 15:46 ` James Prestwood [this message]
2021-04-08 15:46 ` [PATCH 3/5] netdev: implement netdev_handshake_state_set_pmk James Prestwood
2021-04-08 20:14   ` Denis Kenzior
2021-04-09 16:09     ` James Prestwood
2021-04-09 16:29       ` Denis Kenzior
2021-04-08 15:46 ` [PATCH 4/5] netdev: add CONNECTION_TYPE_8021X_OFFLOAD James Prestwood
2021-04-08 15:46 ` [PATCH 5/5] station: handle EAP_COMPLETE event James Prestwood
2021-04-08 20:12   ` Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210408154646.1182833-2-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.