]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix scan_bss_operations
authorJouni Malinen <j@w1.fi>
Sun, 11 May 2014 15:18:58 +0000 (18:18 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 11 May 2014 18:24:05 +0000 (21:24 +0300)
commitcb4ac38b15efdbdadaf21047f29cf4de177b65f3
tree7aae04ccc7f8cf481f790210ea4d706aa9fa879d
parente2a90a4c796ae134cb19165d408f89d2521d56a3
tests: Fix scan_bss_operations

The BSS id numbers were assumed to start from 0 at the beginning of this
test case, but that is only the case if this is run as the first test
after starting wpa_supplicant. Fix the test case to figure out the id
values dynamically to avoid false errors.

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