# Re: \[PATCH\] batman-adv: clarify CFG80211 dependency

- From: Antonio Quartulli \<hidden\>
- Date: 2016-03-02 14:46:07 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/03/11011716
- Thread: https://ratatoskr.run/netdev/2016/03/4699249/t.md

```text
On Wed, Mar 02, 2016 at 02:54:35PM +0100, Arnd Bergmann wrote:
> 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 <redacted>

Thanks a lot Arnd!

David, could you please merge this change in net-next directly ?

Regards,

-- 
Antonio Quartulli
```

## Attachments

- [signature.asc](https://ratatoskr.run/netdev/2016/03/11011716/attachment/0) (application/pgp-signature, 819 bytes)
