From: Linus Lüssing Date: Tue, 20 Sep 2016 13:59:17 +0000 (+0200) Subject: batman-adv: Allow selecting BATMAN V if CFG80211 is not built X-Git-Tag: v4.10-rc1~202^2~385^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0566df307bc882bfca4128521f01a48f4579d27d;p=thirdparty%2Flinux.git batman-adv: Allow selecting BATMAN V if CFG80211 is not built With the new stub for cfg80211_get_station(), we can now build the BATMAN V protocol even with a kernel that was built without any wireless support. Signed-off-by: Linus Lüssing Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index f20742cbae6d3..b73b96a2854b1 100644 --- a/net/batman-adv/Kconfig +++ b/net/batman-adv/Kconfig @@ -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 && CFG80211=y || (CFG80211=m && BATMAN_ADV=m) + depends on BATMAN_ADV && !(CFG80211=m && BATMAN_ADV=y) default n help This option enables the B.A.T.M.A.N. V protocol, the successor