Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx> --- tests/hwsim/fst_test_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/fst_test_common.py b/tests/hwsim/fst_test_common.py index c0255ce31..8fbd71fc5 100644 --- a/tests/hwsim/fst_test_common.py +++ b/tests/hwsim/fst_test_common.py @@ -90,7 +90,7 @@ class HapdRegCtrl: def fst_clear_regdom(): cmd = subprocess.Popen([ "iw", "reg", "get" ], stdout=subprocess.PIPE) - res = cmd.stdout.read() + res = cmd.stdout.read().decode() cmd.stdout.close() if "country 00:" not in res: subprocess.call(['iw', 'reg', 'set', '00']) -- 2.17.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap