Browse Source

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 <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Linus Lüssing 9 years ago
parent
commit
0566df307b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/batman-adv/Kconfig

+ 1 - 1
net/batman-adv/Kconfig

@@ -17,7 +17,7 @@ config BATMAN_ADV
 
 
 config BATMAN_ADV_BATMAN_V
 config BATMAN_ADV_BATMAN_V
 	bool "B.A.T.M.A.N. V protocol (experimental)"
 	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
 	default n
 	help
 	help
 	  This option enables the B.A.T.M.A.N. V protocol, the successor
 	  This option enables the B.A.T.M.A.N. V protocol, the successor