]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
privsep: Mask out control port capability flag
authorJouni Malinen <j@w1.fi>
Sun, 1 Mar 2020 19:31:07 +0000 (21:31 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 1 Mar 2020 19:31:07 +0000 (21:31 +0200)
There is no support for using the control port for sending out EAPOL
frames through privsep yet, so mask out this capability to fall back to
the l2_packet based design.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_privsep.c

index 6d05ff551e6eda48631ea16d075cd4339bf1f4f2..d6735b49c4af98449ecf2ce1ad8a94fc446e58fc 100644 (file)
@@ -797,6 +797,8 @@ static int wpa_driver_privsep_get_capa(void *priv,
        capa->extended_capa = NULL;
        capa->extended_capa_mask = NULL;
        capa->extended_capa_len = 0;
+       /* Control port is not yet supported */
+       capa->flags &= ~WPA_DRIVER_FLAGS_CONTROL_PORT;
        return 0;
 }