Staging: batman-adv: Fix VIS output bug for secondary interfaces
authorLinus Lüssing <linus.luessing@web.de>
Mon, 22 Mar 2010 21:46:14 +0000 (22:46 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:59 +0000 (11:35 -0700)
commitf6497e38fda6970819daacb67725d67474079381
tree1caa4f81012ec4d60458d1e245a500041cf23239
parent107c32fe68f0b64acb7edd31d44d79b87c7fa8b4
Staging: batman-adv: Fix VIS output bug for secondary interfaces

TQ and HNA records for originators on secondary interfaces were
wrongly being included on the primary interface. Ensure we output a
line for each source interface on every node, so we correctly separate
primary and secondary interface records.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/proc.c
drivers/staging/batman-adv/vis.c
drivers/staging/batman-adv/vis.h