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 <avraham.stern@intel.com>
This commit is contained in:
parent
2316cb358c
commit
a9be28bf6b
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ def test_gas_anqp_get(dev, apdev):
|
||||||
raise Exception("Did not receive WAN Metrics")
|
raise Exception("Did not receive WAN Metrics")
|
||||||
|
|
||||||
logger.info("Attempt an MBO request with an AP that does not support MBO")
|
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)")
|
raise Exception("ANQP_GET command failed (2)")
|
||||||
|
|
||||||
ev = dev[0].wait_event(["GAS-QUERY-START"], timeout=5)
|
ev = dev[0].wait_event(["GAS-QUERY-START"], timeout=5)
|
||||||
|
|
Loading…
Reference in a new issue