tests/hwsim/test_rrm.py: from test_ap_vht import vht_supported

Message ID 1496375778-11743-1-git-send-email-lizhijian@cn.fujitsu.com
State Accepted
Headers show

Commit Message

Li Zhijian June 2, 2017, 3:56 a.m.
to fix following issue
------------
rrm_beacon_req_table_vht run failed: global name 'vht_supported' is not defined
------------

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
---
 tests/hwsim/test_rrm.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Jouni Malinen Sept. 10, 2017, 7:50 p.m. | #1
On Fri, Jun 02, 2017 at 11:56:18AM +0800, Li Zhijian wrote:
> to fix following issue
> ------------
> rrm_beacon_req_table_vht run failed: global name 'vht_supported' is not defined

Thanks, applied.

Patch

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)