From 26b91346b9a3db043bfcf369e427c176532650f9 Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Thu, 24 Jan 2019 16:46:15 +0900 Subject: [PATCH] tests: Modify ocv test sets for python3 Signed-off-by: Masashi Honma --- tests/hwsim/test_ocv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hwsim/test_ocv.py b/tests/hwsim/test_ocv.py index 49fb8f0b5..5f5d91550 100644 --- a/tests/hwsim/test_ocv.py +++ b/tests/hwsim/test_ocv.py @@ -22,7 +22,7 @@ from test_ap_psk import parse_eapol, build_eapol, pmk_to_ptk, eapol_key_mic, rec def make_ocikde(op_class, channel, seg1_idx): WLAN_EID_VENDOR_SPECIFIC = 221 - RSN_KEY_DATA_OCI = "\x00\x0f\xac\x0d" + RSN_KEY_DATA_OCI = b"\x00\x0f\xac\x0d" data = RSN_KEY_DATA_OCI + struct.pack("