tests: Verify that STATUS sp_type is valid for Interworking
This verifies that the network type (home/roaming/unknown) is available and set properly in the test_ap_hs20_ext_sim test case. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
7617388ea3
commit
f4defd91cd
1 changed files with 6 additions and 0 deletions
|
@ -167,3 +167,9 @@ def test_ap_hs20_ext_sim(dev, apdev):
|
||||||
ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)
|
ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Connection timed out")
|
raise Exception("Connection timed out")
|
||||||
|
|
||||||
|
type = dev[0].get_status_field("sp_type")
|
||||||
|
if type is None:
|
||||||
|
raise Exception("sp_type not available")
|
||||||
|
if type != "home":
|
||||||
|
raise Exception("sp_type did not indicate home network")
|
||||||
|
|
Loading…
Reference in a new issue