Message ID | 20190625015109.6705-18-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="e2QuVpS3"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IoHGepON"; 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 45Xq341FJFz9s7h for <incoming@patchwork.ozlabs.org>; Tue, 25 Jun 2019 11:54:24 +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=PJenmgPeTDo4oCLUqziiWgl6vEoa57ikUprkWJcTY14=; b=e2QuVpS3yohiWWJh3JIuX+5aTq YD9iQj/ICdPEfBys3/q6RmhED64UtFSrhmNs+lTTfleuNO3lVyAi3b961wt0ZrWIRvAK1glN5YsRe n7aN5ivPDCmun0ms3auqJQAF9wEtt2tRtJGLyztE0Vlde9//jXfE5ANOd+uTck1pkAP85/m0nJeX8 xXdPdHW8+laF9zIipHPfrDVrk6ymGvokQL9khaIziOnjQF/DhYJXY5DNRm4kg3lwLhzrVuXbKSwH/ 12v4prMOxmSAg7MbErOrsrIGvAbR//DFI4lhX+rcQeaPDqfXyvS5JNuKt1AIIC9qzTqbJX5M14Uld ILkQCjlA==; 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 1hfaf6-0001tj-N4; Tue, 25 Jun 2019 01:54:20 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfacc-0007bO-UL for hostap@lists.infradead.org; Tue, 25 Jun 2019 01:51:49 +0000 Received: by mail-pg1-x542.google.com with SMTP id z19so5119472pgl.12 for <hostap@lists.infradead.org>; Mon, 24 Jun 2019 18:51:46 -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=D0H1ql0IsnrHc3FaCkEv7uZPILdma0yAO0+e/Yux84U=; b=IoHGepON7yZunJyt2PsXqJ1Ie4TUCgv3uyq/NH+5xk70oIc9RDRKrqjAGyz8PyLbwJ MA1f/bC+4kNvCANnAn293DD4+wfKAfD+CulTXScPuQJPqLGGGD4J95IQ5d/4LeLZXChh +a8JpKk6F/ryd30pDIFhozu5fi6hENShMNegiY+2osnDtwlrfcRhFdrnzGx9mWcf50/h EqAHVxExd3p/ku4Uwfs6AHoqJHztfGi3B8C8Spyt3OMzoQdiQxCC/+Qf5kWLmkgoPJJv 2VksuE821rMl+coQHauWaXzpwNjHLCDaMAP0dnGm9VRzaVz5FfUrFp/BGjStNf1iun89 72kA== 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=D0H1ql0IsnrHc3FaCkEv7uZPILdma0yAO0+e/Yux84U=; b=qt1n3+iadqYigf/7Gw03J7yn3Z2kNkhXp6jwSZGCjdt/Ra+mlbE/a9N9W9RmU6Fx6L Lui8GP4qkSoNunItNoklT3ncygTmW+pc5K//IGLPjeMGceMcOTXo95r/cC2GbS34OMoT UL4aP41EIQRJ9RHs/mrEUbewkY8KfoeTklkFGA0XpMihawhsjAHEhWEIDBfDpaohB3O6 P/Ei0pda4n8nyoYV0wPKyrG59U2n+iO2q644p2NNQq4yKjoruMit+VoGXG8hQiMGouRn uKFxMv7lkY0iJaG3BA7Yos1wnklTtM8mtB0GUIkg1wadPHxuJV4i1WCoKCXtu4dYEsRw zQPQ== X-Gm-Message-State: APjAAAVBGJwIenPV/Vv0ZZ+1lBqYve7ewDqSxYV8wUh5hdnkGmTW9CUj YNdMjtlh28s+/aA5l9ZNAZkJ7j6w X-Google-Smtp-Source: APXvYqy9ej90qufv5x5yfVcmZd2aOH5WJNGbLRssI7cpg7TiUrIlBOzQrJtoUMmh6G7k80q/FOzZTw== X-Received: by 2002:a17:90a:9a8d:: with SMTP id e13mr28809117pjp.77.1561427505889; Mon, 24 Jun 2019 18:51:45 -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.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 18:51:45 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 18/32] tests: Fix ap_vht_20 false negative by using common finalizer Date: Tue, 25 Jun 2019 10:50:55 +0900 Message-Id: <20190625015109.6705-18-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_185147_051503_E03A26B1 X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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:542 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 2d246da41..ded2f0c75 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -289,11 +289,7 @@ def test_ap_vht_20(devs, apdevs): dev.connect("test-vht20", scan_freq="5180", key_mgmt="NONE") hwsim_utils.test_connectivity(dev, hapd) finally: - dev.request("DISCONNECT") - if hapd: - hapd.request("DISABLE") - subprocess.call(['iw', 'reg', 'set', '00']) - dev.flush_scan_cache() + clear_regdom(hapd, devs) def test_ap_vht_40(devs, apdevs): """VHT and 40 MHz channel"""
ap_vht_20 fails with this message. --------------- wlan0: Country code not reset back to 00: is DE 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(-)