diff --git a/tests/hwsim/utils.py b/tests/hwsim/utils.py index 5fd0457a4..769f824c7 100644 --- a/tests/hwsim/utils.py +++ b/tests/hwsim/utils.py @@ -146,7 +146,7 @@ def check_tls_tod(dev): def vht_supported(): cmd = subprocess.Popen(["iw", "reg", "get"], stdout=subprocess.PIPE) - reg = cmd.stdout.read() + reg = cmd.stdout.read().decode() if "@ 80)" in reg or "@ 160)" in reg: return True return False