summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrushable1278 <171992261+Crushable1278@users.noreply.github.com>2024-09-12 19:12:09 -0600
committerChristian Breunig <christian@breunig.cc>2024-09-13 07:07:40 +0200
commit4be289c814e79ffe95153c1b46a561627221c474 (patch)
treeb73ee57815397e696fa3b8cc53ce3daabf8c2c14
parenteb9e562c28d2935a3823a5522983697cf76dad52 (diff)
downloadvyos-1x-4be289c814e79ffe95153c1b46a561627221c474.tar.gz
vyos-1x-4be289c814e79ffe95153c1b46a561627221c474.zip
T6693: wireless: add missing country-code for 2.4GHz 802.11ax smoketest
Commit 6b57f0333 ("T6693: wireless: Enable WiFi-6 (802.11ax) for 2.4GHz AccessPoints") added a new smoketest which lacked the presence of setting the country-code under the wifi interface, which is a bit different starting with VyOS 1.5.
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_wireless.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_wireless.py b/smoketest/scripts/cli/test_interfaces_wireless.py
index 86ddc9f4d..15f9ec8ce 100755
--- a/smoketest/scripts/cli/test_interfaces_wireless.py
+++ b/smoketest/scripts/cli/test_interfaces_wireless.py
@@ -313,6 +313,7 @@ class WirelessInterfaceTest(BasicInterfaceTest.TestCase):
channel_set_width = '81'
self.cli_set(self._base_path + [interface, 'ssid', ssid])
+ self.cli_set(self._base_path + [interface, 'country-code', country])
self.cli_set(self._base_path + [interface, 'type', 'access-point'])
self.cli_set(self._base_path + [interface, 'channel', channel])
self.cli_set(self._base_path + [interface, 'mode', 'ax'])