Message ID | 20220612112233.113577-1-robimarko@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | Ansuel Smith |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TtpIF/5k; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Jz66mS/f; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LLXX7200zz9sFk for <incoming@patchwork.ozlabs.org>; Sun, 12 Jun 2022 21:28:53 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GIV7lxfxTRh/Q1Ugt4vo8dpp7fiLW3zh+BqnPHRwW34=; b=TtpIF/5kxq7Ll7 P5jOa6evCV4DccUOaPAKxO9RAVguSVdFDvWd4fXRF747y/wQ9itqLasPaGJ5Ww5b8/lukyTnkT/kO Ku09Ea32Vw9DOEMmoAa4AzMsQKn4Tp0bbPYGkQ9qc+/FMWnt6+ix2684lDoHpdoWRhhoTfdB9xAn0 Wd1dh36oLsQh2rpR6Hf/d/1B+4Y819td8DueIlygu6Xh/rIUtQYGEvJo6ybiMzsa+LmbHImPfXEDz vUrnfRS9WEuqHFrkJDPb11TIaOvWX6ouFddLZOKDBlP22mMHhcC5/QTftsVqPPgx/mOtP3bGNjYAH rpSwRtJI0L4Zd8/pXPOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0Lg5-00GOff-Lo; Sun, 12 Jun 2022 11:22:45 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0Lg0-00GOfH-Sh for openwrt-devel@lists.openwrt.org; Sun, 12 Jun 2022 11:22:42 +0000 Received: by mail-ed1-x52e.google.com with SMTP id w27so3913529edl.7 for <openwrt-devel@lists.openwrt.org>; Sun, 12 Jun 2022 04:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J7XbZCgb6EYKXQ+0UxzV47eDQ2YYsfHEqoBfJMAa5r8=; b=Jz66mS/f7qxW5m6KpsF0JLFrC+QMJED3aOW5/vZuwetuDfIBZwlSgzK/nyc7W43pVC tCZWZxkn9fDSi8uxejSYUSg0SIerh+yHXLjjNXq8ou4Gq8eQPxM7YHeP2D5v93k77dlR Hvz3pYwBNHBN2saSFDMt8WnphicMZTz4P6p4MCfE8hESv1DeYuja9vweipP+D4pM6ogW Ig9VrZiY+/tTgZZBQ9azhTykr4bAXqej3wrtP3O6hpVz3zf2Lom/GDtNd9kfH3ZEqKV0 aYzFinGpNAUKqxIl+5aSVO/oN4zLW7zFVPWGk7BFozFK2lTij/dHNXImhXuRKN8KNgzm EAyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J7XbZCgb6EYKXQ+0UxzV47eDQ2YYsfHEqoBfJMAa5r8=; b=s+FpJdFNL3dZx29uiArmSPq/LnqlAgbTnCVoLJANscYmMHl5Kg4XQi+IylyKHgUKT/ D8IBQHKYGyNXPJAMRHdCCXCy3EBdcLvjziUoQwpInufspFaGrKK2nhusW6NM1LKh4XQU LFH1+A0eSkmseBGmFg7tmRS109n2Odqn4Pd0wM/1L5XPqhLi3L8EdpRT7pwhyGSl3NBR qGcudGiA/NcbqtE6Uu6fTffwdlQvGJ0UJVklGwERBAbDAvPdJdFHA3sY2NT7orgZLPkT FBKHEqKqevvpB/Kovka4Of6XR7phQa+RVuaoNkZghEahJW683fhs9IpmvovZePTHu15G sAeg== X-Gm-Message-State: AOAM530epcxHwLR430YywY2/RwBLMMmt5zozDUtjw+GffuhGlIesbbhd OF6wsdWjhimAZVejvIP2RIJakBFctSL95w== X-Google-Smtp-Source: ABdhPJwjH3iaAWp1AcTHigViXgApLtIH8B5fp/fYiDMFZRTfYJ1uaWaTbLa7KBIM2SlafuF5IHQ32g== X-Received: by 2002:a05:6402:1cb5:b0:42d:ddda:7459 with SMTP id cz21-20020a0564021cb500b0042dddda7459mr61637429edb.16.1655032956115; Sun, 12 Jun 2022 04:22:36 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-96-228.xnet.hr. [88.207.96.228]) by smtp.googlemail.com with ESMTPSA id f24-20020a170906085800b00711c7cca428sm2317356ejd.155.2022.06.12.04.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 04:22:35 -0700 (PDT) From: Robert Marko <robimarko@gmail.com> To: openwrt-devel@lists.openwrt.org Cc: Robert Marko <robimarko@gmail.com> Subject: [PATCH] hostapd: fix feature detection Date: Sun, 12 Jun 2022 13:22:33 +0200 Message-Id: <20220612112233.113577-1-robimarko@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220612_042240_966469_6B2A307C X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fix hostapd feature detection after the bump to 2022-05-08. getopt was not updated correctly after upstream added support for -q arg. This reenables feature detection so that LuCi can check for features like SAE, fast roaming etc. Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [robimarko[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:52e listed in] [list.dnswl.org] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
hostapd: fix feature detection
|
expand
|
diff --git a/package/network/services/hostapd/patches/420-indicate-features.patch b/package/network/services/hostapd/patches/420-indicate-features.patch index 80d945ca16..12edb6bacc 100644 --- a/package/network/services/hostapd/patches/420-indicate-features.patch +++ b/package/network/services/hostapd/patches/420-indicate-features.patch @@ -14,7 +14,7 @@ wpa_supplicant_event_global = hostapd_wpa_event_global; for (;;) { - c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:vg:G:q"); -+ c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:vg:G:qv::"); ++ c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:g:G:qv::"); if (c < 0) break; switch (c) {
Fix hostapd feature detection after the bump to 2022-05-08. getopt was not updated correctly after upstream added support for -q arg. This reenables feature detection so that LuCi can check for features like SAE, fast roaming etc. Fixes: c35ff1affe8f ("hostapd: update to 2022-05-08") Signed-off-by: Robert Marko <robimarko@gmail.com> --- .../services/hostapd/patches/420-indicate-features.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)