[PATCH] nl80211: Fix compatibility with older version of libnl
Peer, Ilan
ilan.peer
Sat Oct 4 23:16:32 PDT 2014
> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Jouni Malinen
> Sent: Friday, October 03, 2014 12:26
> To: hostap at lists.shmoo.com
> Subject: Re: [PATCH] nl80211: Fix compatibility with older version of libnl
>
> On Wed, Oct 01, 2014 at 08:01:25AM +0200, Ilan Peer wrote:
> > Commit "nl80211: Remove bridge FDB entry upon sta_remove()" used
> > nl_sock and nl_socket_* functions which are not compatible with older
> > versions of libnl. Fix this.
>
> Thanks, applied.
>
> > diff --git a/src/drivers/driver_nl80211.c
> > b/src/drivers/driver_nl80211.c #ifdef CONFIG_LIBNL3_ROUTE
> > if (bss->added_if_into_bridge) {
> > - drv->rtnl_sk = nl_socket_alloc();
> > + drv->rtnl_sk = nl80211_handle_alloc();
>
> With this part skipped due to build issues. While the end result is somewhat
> ugly with rtnl_sk used with nl_socket_alloc() and nl80211_handle_destroy(),
> this works and fixes a regression. Additional cleanup can be done separately
> if needed.
>
Ok. Thanks.
Ilan.
More information about the Hostap
mailing list