On 12/23/14 17:07, Johannes Berg wrote:
On Tue, 2014-12-23 at 17:05 +0100, Arend van Spriel wrote:
It compiles, but I guess nla_put() will fail for u8[0+8-1/8] field.
I think it should work - the array is 0 bytes long, so sizeof() would
return 0, and that turns out to be equivalent to nla_put_flag().
Another day, another lesson ;-) Wondered how netlink flags were
transported in the message, but never bothered to look. Thanks.
Arend
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html