]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix struct.unpack() call for a single octet with python3
authorJouni Malinen <j@w1.fi>
Sun, 3 Feb 2019 23:46:32 +0000 (01:46 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 10:26:34 +0000 (12:26 +0200)
commit786ce912ce3f2892d15e89a722a4b4dcc499ca00
treef13054077153be33747cd84204508020512b53ce
parentfd86ea402ebcab3eee77b8a50bcb54fef1d1c220
tests: Fix struct.unpack() call for a single octet with python3

python3 needs this to be a bytes object, not the first octet of that
object.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_wps.py