batman-adv: Depend on CFG80211 for BATMAN_V
Sven Eckelmann
maintainerPATCH 1/1 batman-adv: Depend on CFG80211 for BATMAN_V
The B.A.T.M.A.N. V metric can uses cfg80211_get_station to calculate the expected throughput for ieee80211 devices. This function only exists when the kernel was compile with CONFIG_CFG80211 and thus the BATMAN_ADV_BATMAN_V option has to depend on it.
---
@Antonio: Please squash this with 0b0214420ad2 ("batman-adv: ELP - compute the metric based on the estimated throughput")
net/batman-adv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/Kconfig +1 -1
@@ -17,7 +17,7 @@ config BATMAN_ADV config BATMAN_ADV_BATMAN_V bool "B.A.T.M.A.N. V protocol (experimental)" - depends on BATMAN_ADV + depends on BATMAN_ADV && CFG80211 default n help This option enables the B.A.T.M.A.N. V protocol, the successor
Signature · 1 line
2.7.0
Marek Lindner
AppliedQuoted 8 lines · On Tuesday, February 23, 2016 18:25:35 Sven Eckelmann wrote:
The B.A.T.M.A.N. V metric can uses
cfg80211_get_stationto calculate the expected throughput for ieee80211 devices. This function only exists when the kernel was compile withCONFIG_CFG80211and thus theBATMAN_ADV_BATMAN_Voption has to depend on it.Fixes 5c3245172c01 ("batman-adv: ELP - compute the metric based on theestimated throughput") Reported-by: Antonio Quartulli <[email protected]>
Quoted 7 lines
Signed-off-by Sven Eckelmann <[email protected]>---
@Antonio: Please squash this with0b0214420ad2("batman-adv: ELP - compute the metric based on the estimated throughput")net/batman-adv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in revision 2e0a297.
Thanks,
Marek