[PATCH] use nla_type() from libnl

Jouni Malinen j at w1.fi
Tue Feb 22 14:50:31 EST 2011


On Tue, Feb 22, 2011 at 09:56:40AM +0530, raghunathan.kailasanathan at wipro.com wrote:

> I am using libnl2.0 and my toolchain complained about using nl_mode->nla_type
> which was probably due to the fact that a function existed with the same
> name : int nla_type (const struct nlattr*)

Strange.. I was unable to reproduce this and the function having the
same name a struct member should not really cause a compilation failure.
Anyway, since the change itself looks fine, I applied it.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list