]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix rrm_beacon_req_passive_ap_channels to use passive scan
authorJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 15:47:12 +0000 (17:47 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 15:47:12 +0000 (17:47 +0200)
The request from the AP was encoded incorrectly for this test case and
an active scan was requested instead of the passive one that was
supposed to be used here.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_rrm.py

index b0199d5a0196133cc397d5ef8e13d8eaf625a377..846046dd09989184d51f1be2cece60f88c2b786f 100644 (file)
@@ -1078,7 +1078,7 @@ def test_rrm_beacon_req_passive_ap_channels(dev, apdev):
     dev[0].connect("rrm", key_mgmt="NONE", scan_freq="2412")
     addr = dev[0].own_addr()
 
-    token = run_req_beacon(hapd, addr, "51ff0000640001ffffffffffff" + "330351010b" + "3300" + "dd00")
+    token = run_req_beacon(hapd, addr, "51ff0000640000ffffffffffff" + "330351010b" + "3300" + "dd00")
 
     for i in range(1, 3):
         ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=10)