Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Only init ELP tweaking options when BATMAN_V is enabled

2016-05-11 Thread Marek Lindner
On Wednesday, May 11, 2016 09:36:40 Sven Eckelmann wrote: > From: Sven Eckelmann > > 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_interv

[B.A.T.M.A.N.] [PATCH] batman-adv: Only init ELP tweaking options when BATMAN_V is enabled

2016-05-11 Thread Sven Eckelmann
From: Sven Eckelmann 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.