On Mon, May 09, 2016 at 06:28:29PM +0200, Sven Eckelmann wrote:
> On Wednesday 04 May 2016 16:30:07 Andrew Lunn wrote:
> > +       [BATADV_ATTR_THROUGHPUT]        = { .type = NLA_FLAG },
> 
> Why is throughput a flag when you access it with 
> 
>     throughput_kbits = nla_get_u32(attrs[BATADV_ATTR_THROUGHPUT]);
> 
> Most likely just a copy+paste error and it should be NLA_U32.

Yep, thanks.

     Andrew

Reply via email to