From 5bad300565c51a8aa68d510ac731891c357965e8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 1 Mar 2020 21:31:07 +0200 Subject: [PATCH] privsep: Mask out control port capability flag 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 --- src/drivers/driver_privsep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/driver_privsep.c b/src/drivers/driver_privsep.c index 6d05ff551..d6735b49c 100644 --- a/src/drivers/driver_privsep.c +++ b/src/drivers/driver_privsep.c @@ -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; }