From patchwork Tue Feb 23 17:25:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 15838 X-Patchwork-Delegate: mareklindner@neomailbox.ch Return-Path: 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 D533F80D33; Tue, 23 Feb 2016 18:25:43 +0100 (CET) Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=sVeuy95K; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=79.140.41.39; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 26AEC80710 for ; Tue, 23 Feb 2016 18:25:42 +0100 (CET) Received: from sven-desktop.home.narfation.org (x4d05f7ad.dyn.telefonica.de [77.5.247.173]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id A4CFD1100E6; Tue, 23 Feb 2016 18:25:41 +0100 (CET) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=20121; t=1456248341; bh=VhOmCO1q6nCkqnb9tZT938APVX0zEELdtY2ZLkbvxf4=; h=From:To:Cc:Subject:Date:From; b=sVeuy95KJwoahmXqy9+mWeXP8z2bh+CAyk35AJlSqArJcYWp5HWICG8JSnCUYZ38g 4Hw2fseEvUAms/AhxrWsqaNqD/vJMFiJeS3IDGXupa+ZCQ/gZAAocBpQ6pZnZgX55c 6mLufS0RiYCD9Q8b3O9SXqGxjcr1Z/k7eeDd8JIE= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Tue, 23 Feb 2016 18:25:35 +0100 Message-Id: <1456248335-20169-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 2.7.0 Cc: Antonio Quartulli Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Depend on CFG80211 for BATMAN_V 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" The B.A.T.M.A.N. V metric can uses cfg80211_get_station to calculate the expected throughput for ieee80211 devices. This function only exists when the kernel was compile with CONFIG_CFG80211 and thus the BATMAN_ADV_BATMAN_V option has to depend on it. Fixes: 5c3245172c01 ("batman-adv: ELP - compute the metric based on the estimated throughput") Reported-by: Antonio Quartulli Signed-off-by: Sven Eckelmann --- @Antonio: Please squash this with 0b0214420ad2 ("batman-adv: ELP - compute the metric based on the estimated throughput") net/batman-adv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index 5c148a8..e651dc9 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 + depends on BATMAN_ADV && CFG80211 default n help This option enables the B.A.T.M.A.N. V protocol, the successor