From: Jouni Malinen Date: Sat, 7 Jan 2017 15:47:12 +0000 (+0200) Subject: tests: Fix rrm_beacon_req_passive_ap_channels to use passive scan X-Git-Tag: hostap_2_7~1809 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b2bc05377f401c7d2c8433b0405508f7893d72d;p=thirdparty%2Fhostap.git 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 --- 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)