batman-adv: Allow selecting BATMAN V if CFG80211 is not built
authorLinus Lüssing <linus.luessing@c0d3.blue>
Tue, 20 Sep 2016 13:59:17 +0000 (15:59 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 17 Oct 2016 14:28:48 +0000 (16:28 +0200)
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 <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig

index f20742cbae6d3d69cd959a8baa53922f3d45c356..b73b96a2854b152eebf8e9a5c68caa892318c6e6 100644 (file)
@@ -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