On Tuesday, July 19, 2016 22:09:52 Sven Eckelmann wrote:
> The batman-adv release v2016.2 already has the batadv netlink family . Thus
> the fallback to debugfs not only has to be triggered when the the netlink
> family doesn't exist but also when the cmd returns a -EOPNOTSUPP. This
> still has the problem that the header is generated via a different command
> then the actual table entries. Falling back to debugfs would cause a second
> header entry for the table.
> 
> The header print functionality is therefore refactored to only gather the
> data for the header and print the actual header either with the first
> received entry or when the CMD finished without any result.
> 
> Signed-off-by: Sven Eckelmann <[email protected]>
> ---
> v12:
>  - also use debugfs for originators/gwl when get_mesh_info is not supported
> ---
>  functions.h |   1 -
>  netlink.c   | 150
> ++++++++++++++++++++++++++++++++++++++++-------------------- 2 files
> changed, 101 insertions(+), 50 deletions(-)

Applied in revision 5401c71.

Thanks,
Marek

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to