[PATCH 12/12] tests: fix filter in wpas_ctrl_bssid_filter

Janusz Dziedzic <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
When run this TC in remote test env
we could have more scan results after
disable bssid_filter.

Signed-off-by: Janusz Dziedzic <[email protected]>
---
 tests/hwsim/test_wpas_ctrl.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py
index bac373f2f..1a10ba85c 100644
--- a/tests/hwsim/test_wpas_ctrl.py
+++ b/tests/hwsim/test_wpas_ctrl.py
@@ -802,6 +802,7 @@ def test_wpas_ctrl_level(dev):
     finally:
         dev[2].mon.request("LEVEL 3")
 
+@remote_compatible
 def test_wpas_ctrl_bssid_filter(dev, apdev):
     """wpa_supplicant bssid_filter"""
     try:
@@ -818,7 +819,7 @@ def test_wpas_ctrl_bssid_filter(dev, apdev):
         bss = dev[2].get_bss(apdev[1]['bssid'])
         if bss and len(bss) != 0:
             raise Exception("Unexpected BSS data")
-        dev[2].request("SET bssid_filter ")
+        dev[2].request("SET bssid_filter " + apdev[0]['bssid'] + " " + apdev[1]['bssid'])
         dev[2].scan(freq="2412")
         bss = dev[2].get_bss(apdev[0]['bssid'])
         if bss is None or len(bss) == 0:
-- 
2.17.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.