From patchwork Thu Oct 27 12:18:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Otcheretianski X-Patchwork-Id: 687574 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t4QvX6dJ7z9ssP for ; Thu, 27 Oct 2016 23:20:24 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzjfJ-0001NL-58; Thu, 27 Oct 2016 12:20:13 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzjen-0000ib-Jz for hostap@lists.infradead.org; Thu, 27 Oct 2016 12:19:47 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 27 Oct 2016 05:19:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.31,404,1473145200"; d="scan'208"; a="1060011182" Received: from actlab-pc13.jer.intel.com (HELO TEMPHOSTNAME.ger.corp.intel.com) ([10.12.217.220]) by fmsmga001.fm.intel.com with ESMTP; 27 Oct 2016 05:19:17 -0700 From: Andrei Otcheretianski To: hostap@lists.infradead.org Subject: [PATCH 05/10] wpa_supplicant/Makefile: Make CONFIG_MBO independent of CONFIG_AP Date: Thu, 27 Oct 2016 15:18:27 +0300 Message-Id: <1477570712-9848-5-git-send-email-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477570712-9848-1-git-send-email-andrei.otcheretianski@intel.com> References: <1477570712-9848-1-git-send-email-andrei.otcheretianski@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_051941_955239_73AB16AC X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [192.55.52.120 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [192.55.52.120 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Avrahams Stern MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Avrahams Stern CONFIG_MBO was defined inside ifdef CONFIG_AP, so when AP support was not compiled MBO was not compiled either. However, CONFIG_MBO is not related AP support, so it should not depend on CONFIG_AP. Fix this by moving CONFIG_MBO outside of ifdef CONFIG_AP. Signed-off-by: Avrahams Stern --- wpa_supplicant/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 3edbffc..9c293f3 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -882,11 +882,6 @@ CFLAGS += -DCONFIG_IEEE80211AC endif endif -ifdef CONFIG_MBO -OBJS += mbo.o -CFLAGS += -DCONFIG_MBO -endif - ifdef NEED_AP_MLME OBJS += ../src/ap/wmm.o OBJS += ../src/ap/ap_list.o @@ -908,6 +903,11 @@ OBJS += ../src/ap/hs20.o endif endif +ifdef CONFIG_MBO +OBJS += mbo.o +CFLAGS += -DCONFIG_MBO +endif + ifdef NEED_RSN_AUTHENTICATOR CFLAGS += -DCONFIG_NO_RADIUS NEED_AES_WRAP=y