Message ID | 1559798860-20371-4-git-send-email-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="W5+9XHTj"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nHolioqU"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45KDhs6yy9z9s3l for <incoming@patchwork.ozlabs.org>; Thu, 6 Jun 2019 15:28:29 +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=7UZQLpkxguvGKjkb82/gG4WWfqO4wQ/Vf0YridoJtd4=; b=W5+9XHTjIyVyjQldfefzLktbwh AW8a86gx+bewfkz1UHLsCdimXK3TwIi4QXbuyE4qpSOEMJPqHNfLXLgqniXoKeT416334DVB07uqn qySmhEYJZP8Y488huRlP6WsedE6KaB1gVcqoA3Oq3PN8nrfpLNJjg1JbZ5Cqd+MXdX6PDrXuXXgj4 8AljSSMsGPK9F5SmrkoS8QdgXv0hCulS3SwiPJevqXTiCKHVX3Pj6LjpJ3aJ55wQfjKkPckUU06Dk AlSM/XOs/uXBHyecKf+P6bcx/QPmJFDKOeVnjvMNUXyvSLvDHVDMW0upB85p4qCsTKasg+j+LhfOR nP+VpkYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYkws-0005dg-HV; Thu, 06 Jun 2019 05:28:26 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYkwb-0005FN-RS for hostap@lists.infradead.org; Thu, 06 Jun 2019 05:28:11 +0000 Received: by mail-pg1-x541.google.com with SMTP id h17so679845pgv.0 for <hostap@lists.infradead.org>; Wed, 05 Jun 2019 22:28:09 -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=QcxCREmF5QUO0+eYVLBp8nFKXwG+jEx0ioa4+aMTZ0c=; b=nHolioqUotk8ybKGwX9gBpuutT26e843xjulCUuJve1OOVQvQ1svCjG2kyIECX0TT7 cJgd8Aiuaa4P8PDU2abzLWKbQ4c3KqxDmWe6ZpibQvQ/flc78bXqHufOn4QWvMhhlEXX vFoyp2BNtF3STqIXQM/BqvDf+15S2ptFwQMurgX+Wvaci6QIMerOZtD+rFWZUT4I9UUg wtVl5FDpAtnlMIHewPl4SuEtuLM+9hmkny29VEP9yIgB5xP6gJPfvZ10vufRiVPBCXG9 WWPq8ZedkrLSJxnGm3CNA3cghSYU8YJQPYUPt3KVrEzyYY6vkTSW177z4NqBjgprTV8Z O0zw== 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=QcxCREmF5QUO0+eYVLBp8nFKXwG+jEx0ioa4+aMTZ0c=; b=Pg0qoAOcdWyeeG8GNXbUBcII+YcBd3xcJx+ogMHjK61sRiW5cDDD4LJSVk4YSVRFs3 DcWji/6LEhXDsjsLlBTx5WoIL1rcEDuufCyG2i3axLIAr6mzT9iM6/7WNbJJ0LRHxrby W4se93eyvPCGCoGXBsChohEiRRFuYm+DaWVpYOVmzNKt+12MA19nQueD2PvF4koCvLn7 0jbUIhQ2oaHn3hAkfF0NKem+jW3rJAcmA/jlVyWtUXG+KU013cgxZVhWGz7optSETxzp /5y7jo0WWUnDWSAjQ2z9/9S/y2+ndYu6WwiKqnPWR0bg7PTB0knds2oZeZCcYH8YRQeX o7lw== X-Gm-Message-State: APjAAAXpqO7CkPoJjcrM/+6KOi0LzqAQEIwE/4SSjJj48HA0iodiRlLJ 3bH0Q8bcNZ6yv8OoZLuts0GoC60b X-Google-Smtp-Source: APXvYqwZh9GT6IWQwE0DjZEeYazb+3o7F1Hu1BOA714Pn8soZjdP9q8exJ9O1yu2mlWccZ9zeXd/2g== X-Received: by 2002:a17:90a:cb0a:: with SMTP id z10mr49786386pjt.101.1559798888661; Wed, 05 Jun 2019 22:28:08 -0700 (PDT) Received: from corei7.flets-east.jp ([2409:11:321:2100:cc5:f3b1:fd0b:7577]) by smtp.gmail.com with ESMTPSA id ce3sm631638pjb.11.2019.06.05.22.28.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Jun 2019 22:28:08 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 4/4] tests: Fix ap_vht_use_sta_nsts false negative by using common finalizer Date: Thu, 6 Jun 2019 14:27:40 +0900 Message-Id: <1559798860-20371-4-git-send-email-masashi.honma@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559798860-20371-1-git-send-email-masashi.honma@gmail.com> References: <1559798860-20371-1-git-send-email-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190605_222810_024288_B6B9C770 X-CRM114-Status: GOOD ( 11.40 ) 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:541 listed in] [list.dnswl.org] -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 (masashi.honma[at]gmail.com) -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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 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 |
[1/4] tests: Fix dfs_radar2 false negative by using common finalizer
|
expand
|
diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index 662d4da..5e8c3fc 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -1050,11 +1050,7 @@ def test_ap_vht_use_sta_nsts(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_tkip(dev, apdev): """VHT and TKIP"""
ap_vht_use_sta_nsts 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(-)