[PATCH] wpa_supplicant: fix libnl-tiny support

Jouni Malinen j at w1.fi
Fri Mar 4 10:36:49 PST 2016


On Tue, Feb 23, 2016 at 08:53:43PM +0200, Dima Krasner wrote:
> diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
> @@ -39,6 +39,13 @@
>  #include "driver_nl80211.h"
>  
>  
> +#ifdef CONFIG_LIBNL_TINY
> +#define nl_handle nl_sock
> +#define nl_handle_alloc_cb nl_socket_alloc_cb
> +#define nl_handle_destroy nl_socket_free
> +#endif

Which version of libnl-tiny are you using and which version of
wpa_supplicant? I don't see how this could fix anything since other
driver_nl80211*.c files would need similar definitions. And in any case,
you should share the existing defines in driver_nl80211.h with
CONFIG_LIBNL20=y if the libnl-tiny version you are using happens to be
using the libnl v2.0 API.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list