Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx> --- tests/hwsim/test_wmediumd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_wmediumd.py b/tests/hwsim/test_wmediumd.py index 2d264cd59..68538acf3 100644 --- a/tests/hwsim/test_wmediumd.py +++ b/tests/hwsim/test_wmediumd.py @@ -108,7 +108,7 @@ def start_wmediumd(fn, params): logs = '' while True: - line = p.stdout.readline() + line = p.stdout.readline().decode() if not line: output_wmediumd_log(p, params, logs) raise Exception('wmediumd was terminated unexpectedly') @@ -121,7 +121,7 @@ def stop_wmediumd(p, params): p.terminate() p.wait() stdoutdata, stderrdata = p.communicate() - output_wmediumd_log(p, params, stdoutdata) + output_wmediumd_log(p, params, stdoutdata.decode()) def test_wmediumd_simple(dev, apdev, params): """test a simple wmediumd configuration""" -- 2.17.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap