]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
macsec: Note that MKA takes care of EAPOL-MKA processing
authorleiwei <leiwei@codeaurora.org>
Fri, 24 May 2019 08:53:32 +0000 (16:53 +0800)
committerJouni Malinen <jouni@codeaurora.org>
Mon, 3 Jun 2019 17:27:44 +0000 (20:27 +0300)
Signed-off-by: leiwei <leiwei@codeaurora.org>
src/ap/ieee802_1x.c

index 09ec16b8b6799507a1c68171f4f10e886f813d2a..7854f6fc3758075d7a58c0cbd06633aca72037f7 100644 (file)
@@ -1119,6 +1119,13 @@ void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
                /* TODO: implement support for this; show data */
                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, "   unknown IEEE 802.1X packet type");
                sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++;