]> git.karo-electronics.de Git - linux-beck.git/commit
batman-adv: clarify CFG80211 dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 2 Mar 2016 13:54:35 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 18:45:47 +0000 (13:45 -0500)
commitfb653ebddcf871e8a83a63c1e4e73d41bc3cf599
tree18e7523e95704b9d4dccadb3b5ca799c681741c5
parent7cb43bebab52d8a9aa5943fbd1babe633a255e2c
batman-adv: clarify CFG80211 dependency

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: c833484e5f38 ("batman-adv: ELP - compute the metric based on the estimated throughput")
Acked-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/Kconfig