From: Avraham Stern Date: Mon, 6 Mar 2017 12:59:55 +0000 (+0200) Subject: tests: Fix MBO ANQP cellular data preference query X-Git-Tag: hostap_2_7~1482 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9be28bf6b98bece3068db581b44ae1e5b0b65eb;p=thirdparty%2Fhostap.git tests: Fix MBO ANQP cellular data preference query The cellular data preference ANQP element subtype is now 2, so fix the command to query the MBO cellular data preference. Signed-off-by: Avraham Stern --- diff --git a/tests/hwsim/test_gas.py b/tests/hwsim/test_gas.py index 6b8721907..586d3b4a1 100644 --- a/tests/hwsim/test_gas.py +++ b/tests/hwsim/test_gas.py @@ -422,7 +422,7 @@ def test_gas_anqp_get(dev, apdev): raise Exception("Did not receive WAN Metrics") logger.info("Attempt an MBO request with an AP that does not support MBO") - if "OK" not in dev[0].request("ANQP_GET " + bssid + " 272,mbo:1"): + if "OK" not in dev[0].request("ANQP_GET " + bssid + " 272,mbo:2"): raise Exception("ANQP_GET command failed (2)") ev = dev[0].wait_event(["GAS-QUERY-START"], timeout=5)