Message ID | 20190625015109.6705-24-masashi.honma@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fCoaYPba"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UcEzLyoo"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45Xq4L3Mggz9sCJ for <incoming@patchwork.ozlabs.org>; Tue, 25 Jun 2019 11:55:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=a0bGrcKV5GDQ3iNrn2ikDF0gVvLcssG5gWaUPV0VUg0=; b=fCoaYPba9E3xRgpYdmpCylI+a1 /UO5w6kgK4Wz6s2xKw1lswiTfZVf7GdrfdoHH7MI0xddNtfQaqarIb0IFLDTTT9mi+t0ehYpU0BEz cyesSAXtVs6xwfy+giWZZw6enanjD5ZztjmU9btKYllQEH8E6R0Yg+p/FhA2oU0wdDbnBgLShX7in Z6s4n0ClKTltSmayqnKNJAF2XAJHfGYZzTts53rdUFNx/nRVr2KCjU3/SMVRVkfJ7KI4wrHMs7xVh odYagjCfmAedbrF+BPH1xGJT9L7jOKm+HMWhCsnoEObnpCdpwWTOM67wCZpHxC8tOO371EYQiiD7a JMgfJ/XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfagB-0004DK-00; Tue, 25 Jun 2019 01:55:27 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfacl-0007km-Rx for hostap@lists.infradead.org; Tue, 25 Jun 2019 01:51:57 +0000 Received: by mail-pl1-x641.google.com with SMTP id a93so7919342pla.7 for <hostap@lists.infradead.org>; Mon, 24 Jun 2019 18:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=smCQIzAMvpKv+FJUmOBgSO4wK08cmpth13Pt3C/dpgs=; b=UcEzLyoosZ57nkEGdjDDsgQAfLf586IXu7cCnfczvy8MmbMUR/myGM4zvwNk13b185 DjimdGwsjZo58qPF15L9kxYQbXFTyyS6SpY/hAxbFHLwzlUacZOkEZaHBVsi8Z44xXgW o500ovfWHS2MUauBp4FhCczv2frkbHWGzaQDuiOkyi2IA7Bqxyqnj4KW84DM27TotUuU +LkaPUsg/MxNoOBUdifPQ/T14/LvR4+SHsaCZosHP8+V0saN5IZJSa7ccBxn9i8mxKXv VRNDrlrTJ/mVBK7CmWdur06GcWT86O4XzAHw4aJDuQOmAxrYJ2aYanAo2h0qTEffUfdE B2Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=smCQIzAMvpKv+FJUmOBgSO4wK08cmpth13Pt3C/dpgs=; b=TkUV1fPGaY8MpgKGcR5VYTI1DKx5PfRcnyN7XMbFRGLxml/cISWKKpMVBpzDW5U11C ZHM5gRecCe7ONcSiu4E8JTNMqGl9LpO+zY1sRdJfJtNytjs5+3df5BPX2qhqiaY9Pkg+ U5V0MnPWlxZ7UVsDT91ELbIKL5JiX8tEOGyRPWatoLEAnZlZayIE72fO1sxV6JrwrVhG e5cmjlNdV3Y1X0gizMWBD61L1WfmaHmRLhzQmrij6F5swgh0JUF3nDGRrv8e3tWKTcVT t3heskYlJczd1wold2KR1ZLB94a6TPWOywz/bpfZyru/+dbyj+lQdfG3X3AW8LakaMV3 5Aqw== X-Gm-Message-State: APjAAAWPs6yNFvxIjYJgVdBe6YffzdM2/KaX+tiyp9gTqH45iAsEYLDC Ad74Zm6UXMxAxemD4Fk+BDXxnWTT X-Google-Smtp-Source: APXvYqyRaBlt1rfxZXEBM6WvDqXi7y+J33E18B4vXq+gZSI4WpYUxnE+5izTgrEV8zD4RbnimA+Atg== X-Received: by 2002:a17:902:f216:: with SMTP id gn22mr132121774plb.118.1561427514974; Mon, 24 Jun 2019 18:51:54 -0700 (PDT) Received: from gtx1600.flets-east.jp ([2409:11:321:2100:c417:b108:dc0e:cada]) by smtp.gmail.com with ESMTPSA id j64sm16013236pfb.126.2019.06.24.18.51.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 18:51:54 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 24/32] tests: Fix ap_vht_tkip false negative by using common finalizer Date: Tue, 25 Jun 2019 10:51:01 +0900 Message-Id: <20190625015109.6705-24-masashi.honma@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190625015109.6705-1-masashi.honma@gmail.com> References: <20190625015109.6705-1-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_185155_937706_0A980AC2 X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:641 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (masashi.honma[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: Masashi Honma <masashi.honma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[01/32] tests: Fix nfc_wps_handover_chan14 false negative by using common finalizer
|
expand
|
diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index e2cbcb988..e57716e3f 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -1060,11 +1060,7 @@ def test_ap_vht_tkip(dev, apdev): raise HwsimSkip("80 MHz channel not supported in regulatory information") raise finally: - dev[0].request("DISCONNECT") - if hapd: - hapd.request("DISABLE") - subprocess.call(['iw', 'reg', 'set', '00']) - dev[0].flush_scan_cache() + clear_regdom(hapd, dev) def test_ap_vht_40_fallback_to_20(devs, apdevs): """VHT and 40 MHz channel configuration falling back to 20 MHz"""
ap_vht_tkip fails with this message. --------------- wlan0: Country code not reset back to 00: is FI wlan0: Country code cleared back to 00 --------------- This patch fixes the issue. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> --- tests/hwsim/test_ap_vht.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)