From 4b2bc05377f401c7d2c8433b0405508f7893d72d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 Jan 2017 17:47:12 +0200 Subject: [PATCH] tests: Fix rrm_beacon_req_passive_ap_channels to use passive scan 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 --- tests/hwsim/test_rrm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index b0199d5a0..846046dd0 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -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)