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.
Kind regards, Sven