aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp
diff options
context:
space:
mode:
authorHu Wang <huw@qti.qualcomm.com>2014-03-31 14:38:54 (GMT)
committerJouni Malinen <j@w1.fi>2014-05-09 17:05:28 (GMT)
commit3bcfab8794ad8bc5973a3e70c091ed96893ff7f2 (patch)
treeb316d0a8583ae182a77be043fa8a81afb495fe77 /src/eapol_supp
parent0836c04b30b8ef03b7ff60b62518ccb8e456dbe2 (diff)
downloadhostap-3bcfab8794ad8bc5973a3e70c091ed96893ff7f2.zip
hostap-3bcfab8794ad8bc5973a3e70c091ed96893ff7f2.tar.gz
hostap-3bcfab8794ad8bc5973a3e70c091ed96893ff7f2.tar.bz2
MACsec: Add define for EAPOL type MKA
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/eapol_supp')
-rw-r--r--src/eapol_supp/eapol_supp_sm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c
index 1034395..1004b1a 100644
--- a/src/eapol_supp/eapol_supp_sm.c
+++ b/src/eapol_supp/eapol_supp_sm.c
@@ -1345,6 +1345,13 @@ int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
eapol_sm_step(sm);
}
break;
+#ifdef CONFIG_MACSEC
+ case IEEE802_1X_TYPE_EAPOL_MKA:
+ wpa_printf(MSG_EXCESSIVE,
+ "EAPOL type %d will be handled by MKA",
+ hdr->type);
+ break;
+#endif /* CONFIG_MACSEC */
default:
wpa_printf(MSG_DEBUG, "EAPOL: Received unknown EAPOL type %d",
hdr->type);