On Wednesday, March 02, 2016 21:45:56 Sven Eckelmann wrote:
From: Arnd Bergmann arnd@arndb.de
The driver calls cfg80211_get_station, which may be part of a module, so we must not enable BATMAN_ADV_BATMAN_V if BATMAN_ADV=y and CFG80211=m:
net/built-in.o: In function `batadv_v_elp_get_throughput': (text+0x5c62c): undefined reference to `cfg80211_get_station'
This clarifies the dependency to cover all combinations.
Signed-off-by: Arnd Bergmann arnd@arndb.de Fixes: 2e0a2972e354 ("batman-adv: Depend on CFG80211 for BATMAN_V") Acked-by: Antonio Quartulli a@unstable.cc Signed-off-by: David S. Miller davem@davemloft.net Signed-off-by: Sven Eckelmann sven@narfation.org
Submitted for out-of-tree module with adjusted "Fixes" line. The upstream commit is fb653ebddcf871e8a83a63c1e4e73d41bc3cf599
net/batman-adv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in revision 4735b46.
Thanks, Marek