From patchwork Wed Oct 14 15:43:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilan Peer X-Patchwork-Id: 530195 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6A282141107 for ; Thu, 15 Oct 2015 00:50:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id E36C117CCC4; Wed, 14 Oct 2015 09:48:53 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GBneBZAvrt+s; Wed, 14 Oct 2015 09:48:53 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 2C7AF17CCC5; Wed, 14 Oct 2015 09:46:28 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 26D1317C9BA for ; Wed, 14 Oct 2015 09:46:22 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ikxv4Rg2ijKx for ; Wed, 14 Oct 2015 09:46:19 -0400 (EDT) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id C64C217C9B6 for ; Wed, 14 Oct 2015 09:45:02 -0400 (EDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 14 Oct 2015 06:45:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,681,1437462000"; d="scan'208";a="810817885" Received: from unknown (HELO JED00377.ger.corp.intel.com) ([10.12.217.192]) by fmsmga001.fm.intel.com with ESMTP; 14 Oct 2015 06:45:01 -0700 From: Ilan Peer To: hostap@lists.shmoo.com Subject: [PATCH 10/14] tests: Modify nfc_p2p_go_neg_ip_pool_oom() test Date: Wed, 14 Oct 2015 18:43:16 +0300 Message-Id: <1444837400-17309-11-git-send-email-ilan.peer@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444837400-17309-1-git-send-email-ilan.peer@intel.com> References: <1444837400-17309-1-git-send-email-ilan.peer@intel.com> Cc: Avraham Stern X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com From: Avraham Stern Use the global control interface to get the configured P2P GO IP address to support configurations that use a dedicated P2P Device interface. Signed-off-by: Avraham Stern --- tests/hwsim/test_nfc_p2p.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_nfc_p2p.py b/tests/hwsim/test_nfc_p2p.py index 7b5ddae..57aafd7 100644 --- a/tests/hwsim/test_nfc_p2p.py +++ b/tests/hwsim/test_nfc_p2p.py @@ -87,7 +87,7 @@ def test_nfc_p2p_go_neg(dev): def test_nfc_p2p_go_neg_ip_pool_oom(dev): """NFC connection handover to form a new P2P group and IP pool OOM""" set_ip_addr_info(dev[0]) - ip = dev[0].request("GET ip_addr_go") + ip = dev[0].global_request("GET ip_addr_go") if ip != "192.168.42.1": raise Exception("Unexpected ip_addr_go returned: " + ip) dev[0].global_request("SET p2p_go_intent 10")