]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix mbo_supp_oper_classes with new regdb
authorJouni Malinen <jouni@codeaurora.org>
Wed, 20 Jun 2018 12:23:50 +0000 (15:23 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 20 Jun 2018 12:23:50 +0000 (15:23 +0300)
Change country code KZ to SY for the 2.4 GHz only case since 5 GHz rules
were added for KZ.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_mbo.py

index 6fcc3c210af738b24b7c409579df29e14e801afb..2677eba3edc76f3d678b64728e5123fe2f6f54b4 100644 (file)
@@ -96,7 +96,7 @@ def test_mbo_supp_oper_classes(dev, apdev):
         us2, us5 = run_mbo_supp_oper_classes(dev, apdev, hapd, hapd2, "US")
         jp2, jp5 = run_mbo_supp_oper_classes(dev, apdev, hapd, hapd2, "JP")
         bd2, bd5 = run_mbo_supp_oper_classes(dev, apdev, None, hapd2, "BD")
-        kz2, kz5 = run_mbo_supp_oper_classes(dev, apdev, None, hapd2, "KZ")
+        sy2, sy5 = run_mbo_supp_oper_classes(dev, apdev, None, hapd2, "SY")
     finally:
         dev[0].dump_monitor()
         set_reg("00", apdev[0], apdev[1], dev[0])
@@ -107,14 +107,14 @@ def test_mbo_supp_oper_classes(dev, apdev):
     us = "515354737475767778797a7b7c7d7e7f808182"
     jp = "51525354737475767778797a7b808182"
     bd = "5153547c7d7e7f80"
-    kz = "515354"
+    sy = "515354"
 
     tests = [ ("ZA", za, za2, za5, True),
               ("FI", fi, fi2, fi5, True),
               ("US", us, us2, us5, True),
               ("JP", jp, jp2, jp5, True),
               ("BD", bd, bd2, bd5, False),
-              ("KZ", kz, kz2, kz5, False) ]
+              ("SY", sy, sy2, sy5, False) ]
     for country, expected, res2, res5, inc5 in tests:
         # For now, allow operating class 129 to be missing since not all
         # installed regdb files include the 160 MHz channels.