batman-adv: split name from variable for uint mesh attributes
authorAntonio Quartulli <antonio@open-mesh.com>
Sat, 28 Feb 2015 16:50:16 +0000 (00:50 +0800)
committerAntonio Quartulli <antonio@meshcoding.com>
Sun, 7 Jun 2015 15:07:18 +0000 (17:07 +0200)
commit6f70eb7552abc73584f43b701d71c1c377887af0
treebe040ebed56442131bfda1ac180c6c9e7efda2bc
parent36fd61cb80fcf07c20230face1a0f6e1505c8322
batman-adv: split name from variable for uint mesh attributes

Some mesh attributes are behind substructs in the
batadv_priv object and for this reason the name cannot be
used anymore to refer to them.

This patch allows to specify the variable name where the
attribute is stored inside batadv_priv instead of using the
name

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/sysfs.c