batman-adv: Make sysfs support optional
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Mar 2019 17:02:57 +0000 (18:02 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 25 Mar 2019 09:01:11 +0000 (10:01 +0100)
commit0fa4c30d710d7e646688073339312dabc58d89a2
tree62adc48c8c76c2bd9e2be981a95bc734f2e8a149
parent52735a6f0bd2593d681001ded2f7fbbee168a235
batman-adv: Make sysfs support optional

The sysfs files will be marked as deprecated in the near future. They are
already replaced by the batadv generic netlink family. Add an Kconfig
option to disable the sysfs support for users who want to test their tools
or want to safe some space. This setting should currently still be enabled
by default to keep backward compatible with legacy tools.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig
net/batman-adv/Makefile
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/gateway_client.c
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/sysfs.c
net/batman-adv/sysfs.h