From ed432343f48cee28236e2fa8e6ac0e96d99f23f9 Mon Sep 17 00:00:00 2001 From: Beni Lev Date: Mon, 6 Mar 2017 13:30:37 +0200 Subject: [PATCH] tests: Clean up wnm_bss_tm_req test not initialize unused AP The second AP is not really needed in this test case that verifies parsing of various different BSs Transition Management Request frame payloads. Signed-off-by: Beni Lev --- tests/hwsim/test_wnm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py index 8d451f55c..6999f9c94 100644 --- a/tests/hwsim/test_wnm.py +++ b/tests/hwsim/test_wnm.py @@ -381,7 +381,6 @@ def test_wnm_bss_tm_req(dev, apdev): params = { "ssid": "test-wnm", "bss_transition": "1" } hapd = hostapd.add_ap(apdev[0], params) dev[0].connect("test-wnm", key_mgmt="NONE", scan_freq="2412") - hapd2 = hostapd.add_ap(apdev[1], params) hapd.set("ext_mgmt_frame_handling", "1")