aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-15 21:53:27 (GMT)
committerJouni Malinen <j@w1.fi>2019-03-15 21:57:44 (GMT)
commit39139d7ead597b7e2e1b51236c79c4dcce8c8059 (patch)
treeb729484966805dcb26475d333ac9e4e6ec115e87
parent649038e1175bb19b875fb5dea0ac5009203a26b6 (diff)
downloadhostap-39139d7ead597b7e2e1b51236c79c4dcce8c8059.zip
hostap-39139d7ead597b7e2e1b51236c79c4dcce8c8059.tar.gz
hostap-39139d7ead597b7e2e1b51236c79c4dcce8c8059.tar.bz2
tests: Decode brctl showmacs output for the debug log
This is needed with python3 to make the debug log more readable. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--tests/hwsim/test_ap_hs20.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index 6afec8f..af33c34 100644
--- a/tests/hwsim/test_ap_hs20.py
+++ b/tests/hwsim/test_ap_hs20.py
@@ -4572,7 +4572,7 @@ def get_bridge_macs(ifname):
stdout=subprocess.PIPE)
res = cmd.stdout.read()
cmd.stdout.close()
- return res
+ return res.decode()
def tshark_get_arp(cap, filter):
res = run_tshark(cap, filter,