From patchwork Fri Jun 2 03:56:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 770058 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3wf9T96kntz9s2G for ; Fri, 2 Jun 2017 13:59:41 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ouwRZm2W"; dkim-atps=neutral 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=KWbwFcbD1ZC8i9eK9BeMsizACwQwYsBOvdTY/4VVCiU=; b=ouwRZm2Wu3GLMY 69WypItMmYO0jQpLnOgf86Gx954ousd8LgeZUFm0+uZzlJHYbvQCYLYFI7dxuIpUZb/GvWl51YaYm /4DuG1p1BC1qirTBTmZwTTlIcEF7RZs/X5oL02yN4Sfe3h4c+iKjWakH8S1r3ahgMbUd0DJ6wMwPQ nWDOSZvDLU8RDAPlo8PVLjMaNbvwyBvudVwOUmCb0nVUcbIqXqhFVlcFZMJtttuD5EykiwbXRZShl vaw/Rp9jdI5PqZEh8mvvOqJyeRiNd94IhijbJBa8tDvTazkMoodNqIYEdtvSjXYyedWWPPPrr0cXY mUhl+lx++YsKvqbk/2xA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dGdk1-0003HX-OW; Fri, 02 Jun 2017 03:59:13 +0000 Received: from [59.151.112.132] (helo=heian.cn.fujitsu.com) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dGdjd-0003GO-A4 for hostap@lists.infradead.org; Fri, 02 Jun 2017 03:58:50 +0000 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="19572997" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 02 Jun 2017 11:58:24 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 9574847C6528 for ; Fri, 2 Jun 2017 11:58:23 +0800 (CST) Received: from G08FNSTD140138.localdomain (10.167.226.45) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 2 Jun 2017 11:58:23 +0800 From: Li Zhijian To: Subject: [PATCH] tests/hwsim/test_rrm.py: from test_ap_vht import vht_supported Date: Fri, 2 Jun 2017 11:56:18 +0800 Message-ID: <1496375778-11743-1-git-send-email-lizhijian@cn.fujitsu.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.167.226.45] X-yoursite-MailScanner-ID: 9574847C6528.AC96B X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: lizhijian@cn.fujitsu.com X-Spam-Status: No X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170601_205849_530484_0EF2BAB4 X-CRM114-Status: UNSURE ( 4.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Zhijian Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org to fix following issue ------------ rrm_beacon_req_table_vht run failed: global name 'vht_supported' is not defined ------------ Signed-off-by: Li Zhijian --- tests/hwsim/test_rrm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 39c558b..56b35a3 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -19,6 +19,7 @@ from wpasupplicant import WpaSupplicant from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger from test_ap_ht import clear_scan_cache from remotehost import remote_compatible +from test_ap_vht import vht_supported def check_rrm_support(dev): rrm = int(dev.get_driver_status_field("capa.rrm_flags"), 16)