Message ID | 1456926882-2941809-1-git-send-email-arnd@arndb.de (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 4735b462b1d09caa0d12d8460186a4e552c43a85 |
Delegated to: | Marek Lindner |
Headers |
Return-Path: <b.a.t.m.a.n-bounces@lists.open-mesh.org> X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [127.0.0.1]) by open-mesh.org (Postfix) with ESMTP id 27B6F81A7D; Wed, 2 Mar 2016 15:00:48 +0100 (CET) Received-SPF: None (no SPF record) identity=mailfrom; client-ip=212.227.126.134; helo=mout.kundenserver.de; envelope-from=arnd@arndb.de; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=none header.from=arndb.de X-Greylist: delayed 319 seconds by postgrey-1.35 at open-mesh.org; Wed, 02 Mar 2016 15:00:45 CET Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by open-mesh.org (Postfix) with ESMTPS id 9449E81A7C for <b.a.t.m.a.n@lists.open-mesh.org>; Wed, 2 Mar 2016 15:00:45 +0100 (CET) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MflMO-1aDw5e1LjY-00NAjK; Wed, 02 Mar 2016 14:54:50 +0100 From: Arnd Bergmann <arnd@arndb.de> To: Antonio Quartulli <a@unstable.cc> Date: Wed, 2 Mar 2016 14:54:35 +0100 Message-Id: <1456926882-2941809-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:dS9sXnPofFgAUL79aCh+UZYrgnGdodG1pt0/nNKg3LLr+UODYos Kinb+yLmeYS70IHEQh7lIEpnRuJCLFbK3MJKqn3YkB+8RZO+HFg8LlsBcv85P+y6OgEAeWD r7mUqcJcHm/hc7JuCSKp2QbsFwY8Ot5kqOnmFUeuueEYBHNBVMWIR4ng/7yYybxJLc55CTr 8M9sU/2H/W1+HB6/1hYZQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:dIljFUB/MT8=:7qJE7ZEZYaFvpy3hnQJu1m zaVGwd53XmExMcGeBRoTFANrlYHgkPd1wZfMVXHnUyEFsFSaSFsXgYOWhtZvyn8WkcaURdPXC GQmBpix2YdY6BREtc6GvX5coCMo6IPqz9uwmLuWW5Ds4vkwKZVzPj/q2fqwGLT5zCrX58bZZ8 L3YuKLP6e4g0FBcQXr27oHHptY/Qb0UJmCKsnYePlB/f+GW5xCeZLevwThP6jzjcKcGXy0oSq xUpMU7hqt8Z3H91GtmuqMj9YCJk+wEacNuq0LgaA3x7xU09zFNI3sdkz0FNw0xo9VA9GMm2jR CriqOfybBhMiOJZIki7JkRh/ie2gdJv+wDAbW99MJru1C+k0SmEwQT/p+xk4rsLXtLToMEh9D vF97CIEhzrHOQzpd0uHyjnA4K6JCooZvfIPg5BVoFX1L3IVY/U03rJajR3CWcMGEeOSLXysnS No5E/7nCx0sA5Bq0vSHMT7OnWfs/uwo4oKopa+l+OE7R2/mUlaPmoZRDudlvNUphz4FVqu45V csFc5sdrDpoxtHqyrbWrY8Rgtt/CZDe2kdnO/NjZhQJ2CVPuL2O8c2lHiQQM/OzKYcQstrM5s x81gaA90WFNfbmfwF1+7RQULbqtAcf/k18J7O7T5/BOpCeTSVzIJg8hJfOfBtd/H/KBVw98+S T3b3MfX6d4XgZvUj57f8JFHKLqShEEJxNHXKZGk7wc/9aI9KBIxDPCO3CfZD9z7eOKXA= Cc: Marek Lindner <mareklindner@neomailbox.ch>, Arnd Bergmann <arnd@arndb.de>, netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, linux-kernel@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, linux-arm-kernel@lists.infradead.org Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: clarify CFG80211 dependency X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n.lists.open-mesh.org> List-Unsubscribe: <https://lists.open-mesh.org/mm/options/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=unsubscribe> List-Archive: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/> List-Post: <mailto:b.a.t.m.a.n@lists.open-mesh.org> List-Help: <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=help> List-Subscribe: <https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=subscribe> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n@lists.open-mesh.org> Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" <b.a.t.m.a.n-bounces@lists.open-mesh.org> |
Commit Message
Arnd Bergmann
March 2, 2016, 1:54 p.m. UTC
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")
---
net/batman-adv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
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 <a@unstable.cc> Thanks a lot Arnd! David, could you please merge this change in net-next directly ? Regards,
From: Antonio Quartulli <a@unstable.cc> Date: Wed, 2 Mar 2016 22:46:07 +0800 > 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 <a@unstable.cc> > > Thanks a lot Arnd! > > David, could you please merge this change in net-next directly ? Done, applied, thanks everyone.
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index e651dc927bfd..f66930ee3c0b 100644 --- a/net/batman-adv/Kconfig +++ b/net/batman-adv/Kconfig @@ -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 + depends on BATMAN_ADV && CFG80211=y || (CFG80211=m && BATMAN_ADV=m) default n help This option enables the B.A.T.M.A.N. V protocol, the successor