On Wednesday, May 11, 2016 09:36:40 Sven Eckelmann wrote:
From: Sven Eckelmann sven.eckelmann@open-mesh.com
The build currently fails with CONFIG_BATMAN_ADV_BATMAN_V=n because hard_iface->bat_v is only defined when CONFIG_BATMAN_ADV_BATMAN_V=y is set. The initialization of bat_v.throughput_override/bat_v.elp_interval must therefore only be compiled in when also BATMAN_V is enabled.
Fixes: 71e957cd30a0 ("batman-adv: init ELP tweaking options only once") Signed-off-by: Sven Eckelmann sven.eckelmann@open-mesh.com
net/batman-adv/hard-interface.c | 2 ++ 1 file changed, 2 insertions(+)
Applied in revision ffd2f27.
Thanks, Marek