]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cfdf14e2308f5a194e48697d529fa1c7eeca91a
treebe040ebed56442131bfda1ac180c6c9e7efda2bc
parent416e8249dbfdf6ca34cde31473f297455e809789
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