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>
master
Jouni Malinen 4 years ago
parent c1a6b1e47e
commit 5bad300565

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

Loading…
Cancel
Save