[PATCH 6/6] mka: pass full structures down the stack in ops callbacks
j at w1.fi
Mon Aug 22 11:08:09 PDT 2016
On Mon, Aug 15, 2016 at 11:43:44AM +0200, Sabrina Dubroca wrote:
> Instead of extracting some specific arguments, pass the structures down
> to the driver and let it use what it needs.
> diff --git a/src/drivers/driver_macsec_qca.c b/src/drivers/driver_macsec_qca.c
> @@ -31,6 +31,9 @@
> +#include "pae/ieee802_1x_kay.h"
> +#include "pae/ieee802_1x_kay_i.h"
The "_i.h" end in a header file name in wpa_supplicant is a convention
that is used to identify a header file with internal definitions. Such
header files are not supposed to be included into files in other
directories. In other words, if there is something that driver wrappers
would need from ieee802_1x_kay_i.h, that something would need to be
moved into ieee802_1x_kay.h or maybe even src/drivers/driver.h if this
is part of a driver wrapper API.
Jouni Malinen PGP id EFC895FA
More information about the Hostap