From: Masashi Honma Date: Thu, 24 Jan 2019 07:46:15 +0000 (+0900) Subject: tests: Modify ocv test sets for python3 X-Git-Tag: hostap_2_8~497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26b91346b9a3db043bfcf369e427c176532650f9;p=thirdparty%2Fhostap.git tests: Modify ocv test sets for python3 Signed-off-by: Masashi Honma --- 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("