[PATCH 2/7] Replace some vlan_ids with vlan_descriptions

Jouni Malinen j at w1.fi
Wed Nov 3 14:33:14 PDT 2021


On Mon, Oct 11, 2021 at 01:24:32PM +0200, Tom Barthe wrote:
>  src/ap/ap_config.c                            | 23 +++++++++++----
>  src/ap/ap_config.h                            |  3 +-
>  src/ap/wpa_auth.c                             | 29 +++++++++++--------
>  src/ap/wpa_auth.h                             |  5 ++--
>  src/ap/wpa_auth_glue.c                        | 28 +++++++++---------
>  tests/fuzzing/eapol-key-auth/eapol-key-auth.c |  6 ++--
>  6 files changed, 57 insertions(+), 37 deletions(-)

> diff --git a/src/ap/wpa_auth.h b/src/ap/wpa_auth.h
> +++ b/src/ap/wpa_auth.h
> @@ -296,7 +296,7 @@ struct wpa_auth_callbacks {
>  	const u8 * (*get_psk)(void *ctx, const u8 *addr, const u8 *p2p_dev_addr,
>  			      const u8 *prev_psk, size_t *psk_len,
> -			      int *vlan_id);
> +			      struct vlan_description *vlan);

This breaks wpa_supplicant build, i.e., wpa_supplicant/ibss_rsn.c and
wpa_supplicant/mesh_rsn.c needs matching changes for the get_psk()
callback functions.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list