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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-03-01 21:31:07 +02:00
parent c1a6b1e47e
commit 5bad300565

View 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;
}